From 1fe5c05366a485720a8943c8414e11f72235306c Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Mon, 16 Dec 2024 19:28:55 +0000 Subject: [PATCH] Regenerated Clients --- .../3869f40790004a2c9092eca750a92802.json | 8 ++ .../5aad87745a734936af2180c4132405d4.json | 8 ++ .../6f97f04b7e754cdcafb365317c0448c1.json | 8 ++ .../79d1dbc224d44587b2ff7dea1e64262e.json | 8 ++ .../7fa628f523b84d33a543a29fdea99dc8.json | 8 ++ .../a787926c9c2648f7bc598009b64fe6a0.json | 8 ++ service/cloud9/api_op_CreateEnvironmentEC2.go | 16 ++-- .../api_op_CreateEnvironmentMembership.go | 5 ++ service/cloud9/api_op_DeleteEnvironment.go | 5 ++ .../api_op_DeleteEnvironmentMembership.go | 5 ++ .../api_op_DescribeEnvironmentMemberships.go | 5 ++ .../api_op_DescribeEnvironmentStatus.go | 5 ++ service/cloud9/api_op_DescribeEnvironments.go | 5 ++ service/cloud9/api_op_ListEnvironments.go | 8 ++ service/cloud9/api_op_ListTagsForResource.go | 5 ++ service/cloud9/api_op_TagResource.go | 5 ++ service/cloud9/api_op_UntagResource.go | 5 ++ service/cloud9/api_op_UpdateEnvironment.go | 5 ++ .../api_op_UpdateEnvironmentMembership.go | 5 ++ service/cloud9/doc.go | 4 + service/dlm/types/enums.go | 8 +- service/dlm/types/types.go | 86 ++++++++++++------- service/ec2/api_op_CreateSnapshot.go | 57 +++++++----- service/ec2/api_op_CreateSnapshots.go | 59 ++++++++----- service/ec2/deserializers.go | 39 +++++++++ service/ec2/serializers.go | 10 +++ service/ec2/types/enums.go | 19 ++++ service/ec2/types/types.go | 8 ++ service/greengrassv2/api_op_GetCoreDevice.go | 7 ++ .../greengrassv2/api_op_ListCoreDevices.go | 15 +++- service/greengrassv2/deserializers.go | 36 ++++++++ service/greengrassv2/serializers.go | 4 + service/greengrassv2/types/types.go | 13 +++ service/medialive/deserializers.go | 54 ++++++++++++ service/medialive/serializers.go | 30 +++++++ service/medialive/types/enums.go | 19 ++++ service/medialive/types/types.go | 69 ++++++++++++--- service/rds/types/enums.go | 10 ++- 38 files changed, 570 insertions(+), 104 deletions(-) create mode 100644 .changelog/3869f40790004a2c9092eca750a92802.json create mode 100644 .changelog/5aad87745a734936af2180c4132405d4.json create mode 100644 .changelog/6f97f04b7e754cdcafb365317c0448c1.json create mode 100644 .changelog/79d1dbc224d44587b2ff7dea1e64262e.json create mode 100644 .changelog/7fa628f523b84d33a543a29fdea99dc8.json create mode 100644 .changelog/a787926c9c2648f7bc598009b64fe6a0.json diff --git a/.changelog/3869f40790004a2c9092eca750a92802.json b/.changelog/3869f40790004a2c9092eca750a92802.json new file mode 100644 index 00000000000..a28106f604b --- /dev/null +++ b/.changelog/3869f40790004a2c9092eca750a92802.json @@ -0,0 +1,8 @@ +{ + "id": "3869f407-9000-4a2c-9092-eca750a92802", + "type": "feature", + "description": "Add support for runtime in GetCoreDevice and ListCoreDevices APIs.", + "modules": [ + "service/greengrassv2" + ] +} \ No newline at end of file diff --git a/.changelog/5aad87745a734936af2180c4132405d4.json b/.changelog/5aad87745a734936af2180c4132405d4.json new file mode 100644 index 00000000000..ba7c8497f9f --- /dev/null +++ b/.changelog/5aad87745a734936af2180c4132405d4.json @@ -0,0 +1,8 @@ +{ + "id": "5aad8774-5a73-4936-af21-80c4132405d4", + "type": "feature", + "description": "This release adds support for Local Zones in Amazon Data Lifecycle Manager EBS snapshot lifecycle policies.", + "modules": [ + "service/dlm" + ] +} \ No newline at end of file diff --git a/.changelog/6f97f04b7e754cdcafb365317c0448c1.json b/.changelog/6f97f04b7e754cdcafb365317c0448c1.json new file mode 100644 index 00000000000..c42702d778b --- /dev/null +++ b/.changelog/6f97f04b7e754cdcafb365317c0448c1.json @@ -0,0 +1,8 @@ +{ + "id": "6f97f04b-7e75-4cdc-afb3-65317c0448c1", + "type": "feature", + "description": "This release adds support for the \"MYSQL_CACHING_SHA2_PASSWORD\" enum value for RDS Proxy ClientPasswordAuthType.", + "modules": [ + "service/rds" + ] +} \ No newline at end of file diff --git a/.changelog/79d1dbc224d44587b2ff7dea1e64262e.json b/.changelog/79d1dbc224d44587b2ff7dea1e64262e.json new file mode 100644 index 00000000000..4070f5b931b --- /dev/null +++ b/.changelog/79d1dbc224d44587b2ff7dea1e64262e.json @@ -0,0 +1,8 @@ +{ + "id": "79d1dbc2-24d4-4587-b2ff-7dea1e64262e", + "type": "feature", + "description": "AWS Elemental MediaLive adds three new features: MediaPackage v2 endpoint support for live stream delivery, KLV metadata passthrough in CMAF Ingest output groups, and Metadata Name Modifier in CMAF Ingest output groups for customizing metadata track names in output streams.", + "modules": [ + "service/medialive" + ] +} \ No newline at end of file diff --git a/.changelog/7fa628f523b84d33a543a29fdea99dc8.json b/.changelog/7fa628f523b84d33a543a29fdea99dc8.json new file mode 100644 index 00000000000..ecb9db4e346 --- /dev/null +++ b/.changelog/7fa628f523b84d33a543a29fdea99dc8.json @@ -0,0 +1,8 @@ +{ + "id": "7fa628f5-23b8-4d33-a543-a29fdea99dc8", + "type": "documentation", + "description": "Added information about Ubuntu 18.04 will be removed from the available imageIds for Cloud9 because Ubuntu 18.04 has ended standard support on May 31, 2023.", + "modules": [ + "service/cloud9" + ] +} \ No newline at end of file diff --git a/.changelog/a787926c9c2648f7bc598009b64fe6a0.json b/.changelog/a787926c9c2648f7bc598009b64fe6a0.json new file mode 100644 index 00000000000..517d2b73f8d --- /dev/null +++ b/.changelog/a787926c9c2648f7bc598009b64fe6a0.json @@ -0,0 +1,8 @@ +{ + "id": "a787926c-9c26-48f7-bc59-8009b64fe6a0", + "type": "feature", + "description": "This release adds support for EBS local snapshots in AWS Dedicated Local Zones, which allows you to store snapshots of EBS volumes locally in Dedicated Local Zones.", + "modules": [ + "service/ec2" + ] +} \ No newline at end of file diff --git a/service/cloud9/api_op_CreateEnvironmentEC2.go b/service/cloud9/api_op_CreateEnvironmentEC2.go index 0498f03462c..072328af937 100644 --- a/service/cloud9/api_op_CreateEnvironmentEC2.go +++ b/service/cloud9/api_op_CreateEnvironmentEC2.go @@ -14,6 +14,11 @@ import ( // Creates an Cloud9 development environment, launches an Amazon Elastic Compute // Cloud (Amazon EC2) instance, and then connects from the instance to the // environment. +// +// Cloud9 is no longer available to new customers. Existing customers of Cloud9 +// can continue to use the service as normal. [Learn more"] +// +// [Learn more"]: http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/ func (c *Client) CreateEnvironmentEC2(ctx context.Context, params *CreateEnvironmentEC2Input, optFns ...func(*Options)) (*CreateEnvironmentEC2Output, error) { if params == nil { params = &CreateEnvironmentEC2Input{} @@ -35,15 +40,14 @@ type CreateEnvironmentEC2Input struct { // instance. To choose an AMI for the instance, you must specify a valid AMI alias // or a valid Amazon EC2 Systems Manager (SSM) path. // - // From December 04, 2023, you will be required to include the imageId parameter - // for the CreateEnvironmentEC2 action. This change will be reflected across all - // direct methods of communicating with the API, such as Amazon Web Services SDK, - // Amazon Web Services CLI and Amazon Web Services CloudFormation. This change will - // only affect direct API consumers, and not Cloud9 console users. - // // We recommend using Amazon Linux 2023 as the AMI to create your environment as // it is fully supported. // + // From December 16, 2024, Ubuntu 18.04 will be removed from the list of available + // imageIds for Cloud9. This change is necessary as Ubuntu 18.04 has ended standard + // support on May 31, 2023. This change will only affect direct API consumers, and + // not Cloud9 console users. + // // Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we recommend // you choose Ubuntu 22.04. // diff --git a/service/cloud9/api_op_CreateEnvironmentMembership.go b/service/cloud9/api_op_CreateEnvironmentMembership.go index 27adaf21651..704cba4569e 100644 --- a/service/cloud9/api_op_CreateEnvironmentMembership.go +++ b/service/cloud9/api_op_CreateEnvironmentMembership.go @@ -12,6 +12,11 @@ import ( ) // Adds an environment member to an Cloud9 development environment. +// +// Cloud9 is no longer available to new customers. Existing customers of Cloud9 +// can continue to use the service as normal. [Learn more"] +// +// [Learn more"]: http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/ func (c *Client) CreateEnvironmentMembership(ctx context.Context, params *CreateEnvironmentMembershipInput, optFns ...func(*Options)) (*CreateEnvironmentMembershipOutput, error) { if params == nil { params = &CreateEnvironmentMembershipInput{} diff --git a/service/cloud9/api_op_DeleteEnvironment.go b/service/cloud9/api_op_DeleteEnvironment.go index 9462d35a9b3..af7f81cbc13 100644 --- a/service/cloud9/api_op_DeleteEnvironment.go +++ b/service/cloud9/api_op_DeleteEnvironment.go @@ -12,6 +12,11 @@ import ( // Deletes an Cloud9 development environment. If an Amazon EC2 instance is // connected to the environment, also terminates the instance. +// +// Cloud9 is no longer available to new customers. Existing customers of Cloud9 +// can continue to use the service as normal. [Learn more"] +// +// [Learn more"]: http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/ func (c *Client) DeleteEnvironment(ctx context.Context, params *DeleteEnvironmentInput, optFns ...func(*Options)) (*DeleteEnvironmentOutput, error) { if params == nil { params = &DeleteEnvironmentInput{} diff --git a/service/cloud9/api_op_DeleteEnvironmentMembership.go b/service/cloud9/api_op_DeleteEnvironmentMembership.go index 10b8e6e5f02..388289b5994 100644 --- a/service/cloud9/api_op_DeleteEnvironmentMembership.go +++ b/service/cloud9/api_op_DeleteEnvironmentMembership.go @@ -11,6 +11,11 @@ import ( ) // Deletes an environment member from a development environment. +// +// Cloud9 is no longer available to new customers. Existing customers of Cloud9 +// can continue to use the service as normal. [Learn more"] +// +// [Learn more"]: http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/ func (c *Client) DeleteEnvironmentMembership(ctx context.Context, params *DeleteEnvironmentMembershipInput, optFns ...func(*Options)) (*DeleteEnvironmentMembershipOutput, error) { if params == nil { params = &DeleteEnvironmentMembershipInput{} diff --git a/service/cloud9/api_op_DescribeEnvironmentMemberships.go b/service/cloud9/api_op_DescribeEnvironmentMemberships.go index 6abe1ebe03c..20b95d073c9 100644 --- a/service/cloud9/api_op_DescribeEnvironmentMemberships.go +++ b/service/cloud9/api_op_DescribeEnvironmentMemberships.go @@ -13,6 +13,11 @@ import ( // Gets information about environment members for an Cloud9 development // environment. +// +// Cloud9 is no longer available to new customers. Existing customers of Cloud9 +// can continue to use the service as normal. [Learn more"] +// +// [Learn more"]: http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/ func (c *Client) DescribeEnvironmentMemberships(ctx context.Context, params *DescribeEnvironmentMembershipsInput, optFns ...func(*Options)) (*DescribeEnvironmentMembershipsOutput, error) { if params == nil { params = &DescribeEnvironmentMembershipsInput{} diff --git a/service/cloud9/api_op_DescribeEnvironmentStatus.go b/service/cloud9/api_op_DescribeEnvironmentStatus.go index 52b58034849..cf61e572426 100644 --- a/service/cloud9/api_op_DescribeEnvironmentStatus.go +++ b/service/cloud9/api_op_DescribeEnvironmentStatus.go @@ -12,6 +12,11 @@ import ( ) // Gets status information for an Cloud9 development environment. +// +// Cloud9 is no longer available to new customers. Existing customers of Cloud9 +// can continue to use the service as normal. [Learn more"] +// +// [Learn more"]: http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/ func (c *Client) DescribeEnvironmentStatus(ctx context.Context, params *DescribeEnvironmentStatusInput, optFns ...func(*Options)) (*DescribeEnvironmentStatusOutput, error) { if params == nil { params = &DescribeEnvironmentStatusInput{} diff --git a/service/cloud9/api_op_DescribeEnvironments.go b/service/cloud9/api_op_DescribeEnvironments.go index 1cb77b25de0..5b029a6d8f2 100644 --- a/service/cloud9/api_op_DescribeEnvironments.go +++ b/service/cloud9/api_op_DescribeEnvironments.go @@ -12,6 +12,11 @@ import ( ) // Gets information about Cloud9 development environments. +// +// Cloud9 is no longer available to new customers. Existing customers of Cloud9 +// can continue to use the service as normal. [Learn more"] +// +// [Learn more"]: http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/ func (c *Client) DescribeEnvironments(ctx context.Context, params *DescribeEnvironmentsInput, optFns ...func(*Options)) (*DescribeEnvironmentsOutput, error) { if params == nil { params = &DescribeEnvironmentsInput{} diff --git a/service/cloud9/api_op_ListEnvironments.go b/service/cloud9/api_op_ListEnvironments.go index 3a45062f6ef..e17f3c45ab6 100644 --- a/service/cloud9/api_op_ListEnvironments.go +++ b/service/cloud9/api_op_ListEnvironments.go @@ -11,6 +11,14 @@ import ( ) // Gets a list of Cloud9 development environment identifiers. +// +// Cloud9 is no longer available to new customers. Existing customers of Cloud9 +// can continue to use the service as normal. [Learn more"] +// +// Cloud9 is no longer available to new customers. Existing customers of Cloud9 +// can continue to use the service as normal. [Learn more"] +// +// [Learn more"]: http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/ func (c *Client) ListEnvironments(ctx context.Context, params *ListEnvironmentsInput, optFns ...func(*Options)) (*ListEnvironmentsOutput, error) { if params == nil { params = &ListEnvironmentsInput{} diff --git a/service/cloud9/api_op_ListTagsForResource.go b/service/cloud9/api_op_ListTagsForResource.go index b293dcf4bb7..48e7fda81dd 100644 --- a/service/cloud9/api_op_ListTagsForResource.go +++ b/service/cloud9/api_op_ListTagsForResource.go @@ -12,6 +12,11 @@ import ( ) // Gets a list of the tags associated with an Cloud9 development environment. +// +// Cloud9 is no longer available to new customers. Existing customers of Cloud9 +// can continue to use the service as normal. [Learn more"] +// +// [Learn more"]: http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/ func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error) { if params == nil { params = &ListTagsForResourceInput{} diff --git a/service/cloud9/api_op_TagResource.go b/service/cloud9/api_op_TagResource.go index 491d7bc3ef6..79fe27aa1ba 100644 --- a/service/cloud9/api_op_TagResource.go +++ b/service/cloud9/api_op_TagResource.go @@ -13,8 +13,13 @@ import ( // Adds tags to an Cloud9 development environment. // +// Cloud9 is no longer available to new customers. Existing customers of Cloud9 +// can continue to use the service as normal. [Learn more"] +// // Tags that you add to an Cloud9 environment by using this method will NOT be // automatically propagated to underlying resources. +// +// [Learn more"]: http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/ func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error) { if params == nil { params = &TagResourceInput{} diff --git a/service/cloud9/api_op_UntagResource.go b/service/cloud9/api_op_UntagResource.go index d90360bf9b6..8f8e62df63b 100644 --- a/service/cloud9/api_op_UntagResource.go +++ b/service/cloud9/api_op_UntagResource.go @@ -11,6 +11,11 @@ import ( ) // Removes tags from an Cloud9 development environment. +// +// Cloud9 is no longer available to new customers. Existing customers of Cloud9 +// can continue to use the service as normal. [Learn more"] +// +// [Learn more"]: http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/ func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error) { if params == nil { params = &UntagResourceInput{} diff --git a/service/cloud9/api_op_UpdateEnvironment.go b/service/cloud9/api_op_UpdateEnvironment.go index 75109b0ff2a..a172c699954 100644 --- a/service/cloud9/api_op_UpdateEnvironment.go +++ b/service/cloud9/api_op_UpdateEnvironment.go @@ -12,6 +12,11 @@ import ( ) // Changes the settings of an existing Cloud9 development environment. +// +// Cloud9 is no longer available to new customers. Existing customers of Cloud9 +// can continue to use the service as normal. [Learn more"] +// +// [Learn more"]: http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/ func (c *Client) UpdateEnvironment(ctx context.Context, params *UpdateEnvironmentInput, optFns ...func(*Options)) (*UpdateEnvironmentOutput, error) { if params == nil { params = &UpdateEnvironmentInput{} diff --git a/service/cloud9/api_op_UpdateEnvironmentMembership.go b/service/cloud9/api_op_UpdateEnvironmentMembership.go index 4c3f2f068cf..f987a981d40 100644 --- a/service/cloud9/api_op_UpdateEnvironmentMembership.go +++ b/service/cloud9/api_op_UpdateEnvironmentMembership.go @@ -13,6 +13,11 @@ import ( // Changes the settings of an existing environment member for an Cloud9 // development environment. +// +// Cloud9 is no longer available to new customers. Existing customers of Cloud9 +// can continue to use the service as normal. [Learn more"] +// +// [Learn more"]: http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/ func (c *Client) UpdateEnvironmentMembership(ctx context.Context, params *UpdateEnvironmentMembershipInput, optFns ...func(*Options)) (*UpdateEnvironmentMembershipOutput, error) { if params == nil { params = &UpdateEnvironmentMembershipInput{} diff --git a/service/cloud9/doc.go b/service/cloud9/doc.go index 665ffac62f5..3f9fd6b7e0e 100644 --- a/service/cloud9/doc.go +++ b/service/cloud9/doc.go @@ -10,6 +10,9 @@ // // For more information about Cloud9, see the [Cloud9 User Guide]. // +// Cloud9 is no longer available to new customers. Existing customers of Cloud9 +// can continue to use the service as normal. [Learn more"] +// // Cloud9 supports these operations: // // - CreateEnvironmentEC2 : Creates an Cloud9 development environment, launches @@ -44,4 +47,5 @@ // environment member for an environment. // // [Cloud9 User Guide]: https://docs.aws.amazon.com/cloud9/latest/user-guide +// [Learn more"]: http://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-cloud9-to-aws-ide-toolkits-or-aws-cloudshell/ package cloud9 diff --git a/service/dlm/types/enums.go b/service/dlm/types/enums.go index 3ee1d5b129c..6df66b606ee 100644 --- a/service/dlm/types/enums.go +++ b/service/dlm/types/enums.go @@ -138,6 +138,7 @@ type LocationValues string const ( LocationValuesCloud LocationValues = "CLOUD" LocationValuesOutpostLocal LocationValues = "OUTPOST_LOCAL" + LocationValuesLocalZone LocationValues = "LOCAL_ZONE" ) // Values returns all known values for LocationValues. Note that this can be @@ -148,6 +149,7 @@ func (LocationValues) Values() []LocationValues { return []LocationValues{ "CLOUD", "OUTPOST_LOCAL", + "LOCAL_ZONE", } } @@ -195,8 +197,9 @@ type ResourceLocationValues string // Enum values for ResourceLocationValues const ( - ResourceLocationValuesCloud ResourceLocationValues = "CLOUD" - ResourceLocationValuesOutpost ResourceLocationValues = "OUTPOST" + ResourceLocationValuesCloud ResourceLocationValues = "CLOUD" + ResourceLocationValuesOutpost ResourceLocationValues = "OUTPOST" + ResourceLocationValuesLocalZone ResourceLocationValues = "LOCAL_ZONE" ) // Values returns all known values for ResourceLocationValues. Note that this can @@ -207,6 +210,7 @@ func (ResourceLocationValues) Values() []ResourceLocationValues { return []ResourceLocationValues{ "CLOUD", "OUTPOST", + "LOCAL_ZONE", } } diff --git a/service/dlm/types/types.go b/service/dlm/types/types.go index 06bfcb5ba02..8f19e2d5437 100644 --- a/service/dlm/types/types.go +++ b/service/dlm/types/types.go @@ -66,9 +66,10 @@ type ArchiveRule struct { type CreateRule struct { // The schedule, as a Cron expression. The schedule interval must be between 1 - // hour and 1 year. For more information, see [Cron expressions]in the Amazon CloudWatch User Guide. + // hour and 1 year. For more information, see the [Cron expressions reference]in the Amazon EventBridge User + // Guide. // - // [Cron expressions]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions + // [Cron expressions reference]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cron-expressions.html CronExpression *string // The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, @@ -79,15 +80,30 @@ type CreateRule struct { IntervalUnit IntervalUnitValues // [Custom snapshot policies only] Specifies the destination for snapshots - // created by the policy. To create snapshots in the same Region as the source - // resource, specify CLOUD . To create snapshots on the same Outpost as the source - // resource, specify OUTPOST_LOCAL . If you omit this parameter, CLOUD is used by - // default. - // - // If the policy targets resources in an Amazon Web Services Region, then you must - // create snapshots in the same Region as the source resource. If the policy - // targets resources on an Outpost, then you can create snapshots on the same - // Outpost as the source resource, or in the Region of that Outpost. + // created by the policy. The allowed destinations depend on the location of the + // targeted resources. + // + // - If the policy targets resources in a Region, then you must create snapshots + // in the same Region as the source resource. + // + // - If the policy targets resources in a Local Zone, you can create snapshots + // in the same Local Zone or in its parent Region. + // + // - If the policy targets resources on an Outpost, then you can create + // snapshots on the same Outpost or in its parent Region. + // + // Specify one of the following values: + // + // - To create snapshots in the same Region as the source resource, specify CLOUD + // . + // + // - To create snapshots in the same Local Zone as the source resource, specify + // LOCAL_ZONE . + // + // - To create snapshots on the same Outpost as the source resource, specify + // OUTPOST_LOCAL . + // + // Default: CLOUD Location LocationValues // [Custom snapshot policies that target instances only] Specifies pre and/or @@ -376,9 +392,7 @@ type FastRestoreRule struct { noSmithyDocumentSerde } -// [Custom policies only] Detailed information about a snapshot, AMI, or -// -// event-based lifecycle policy. +// Information about a lifecycle policy. type LifecyclePolicy struct { // The local date and time when the lifecycle policy was created. @@ -387,11 +401,12 @@ type LifecyclePolicy struct { // The local date and time when the lifecycle policy was last modified. DateModified *time.Time - // [Default policies only] The type of default policy. Values include: + // Indicates whether the policy is a default lifecycle policy or a custom + // lifecycle policy. // - // - VOLUME - Default policy for EBS snapshots + // - true - the policy is a default policy. // - // - INSTANCE - Default policy for EBS-backed AMIs + // - false - the policy is a custom policy. DefaultPolicy *bool // The description of the lifecycle policy. @@ -568,24 +583,31 @@ type PolicyDetails struct { // - STANDARD To create a custom policy. PolicyLanguage PolicyLanguageValues - // [Custom policies only] The valid target resource types and actions a policy - // can manage. Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle policy that - // manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT to - // create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify - // EVENT_BASED_POLICY to create an event-based policy that performs specific - // actions when a defined event occurs in your Amazon Web Services account. + // The type of policy. Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle + // policy that manages the lifecycle of Amazon EBS snapshots. Specify + // IMAGE_MANAGEMENT to create a lifecycle policy that manages the lifecycle of + // EBS-backed AMIs. Specify EVENT_BASED_POLICY to create an event-based policy + // that performs specific actions when a defined event occurs in your Amazon Web + // Services account. // // The default is EBS_SNAPSHOT_MANAGEMENT . PolicyType PolicyTypeValues // [Custom snapshot and AMI policies only] The location of the resources to - // backup. If the source resources are located in an Amazon Web Services Region, - // specify CLOUD . If the source resources are located on an Outpost in your - // account, specify OUTPOST . + // backup. + // + // - If the source resources are located in a Region, specify CLOUD . In this + // case, the policy targets all resources of the specified type with matching + // target tags across all Availability Zones in the Region. + // + // - [Custom snapshot policies only] If the source resources are located in a + // Local Zone, specify LOCAL_ZONE . In this case, the policy targets all + // resources of the specified type with matching target tags across all Local Zones + // in the Region. // - // If you specify OUTPOST , Amazon Data Lifecycle Manager backs up all resources of - // the specified type with matching target tags across all of the Outposts in your - // account. + // - If the source resources are located on an Outpost in your account, specify + // OUTPOST . In this case, the policy targets all resources of the specified type + // with matching target tags across all of the Outposts in your account. ResourceLocations []ResourceLocationValues // [Default policies only] Specify the type of default policy to create. @@ -741,11 +763,11 @@ type Schedule struct { // The creation rule. CreateRule *CreateRule - // Specifies a rule for copying snapshots or AMIs across regions. + // Specifies a rule for copying snapshots or AMIs across Regions. // // You can't specify cross-Region copy rules for policies that create snapshots on - // an Outpost. If the policy creates snapshots in a Region, then snapshots can be - // copied to up to three Regions or Outposts. + // an Outpost or in a Local Zone. If the policy creates snapshots in a Region, then + // snapshots can be copied to up to three Regions or Outposts. CrossRegionCopyRules []CrossRegionCopyRule // [Custom AMI policies only] The AMI deprecation rule for the schedule. diff --git a/service/ec2/api_op_CreateSnapshot.go b/service/ec2/api_op_CreateSnapshot.go index b5a5eb697e8..e1a59604f33 100644 --- a/service/ec2/api_op_CreateSnapshot.go +++ b/service/ec2/api_op_CreateSnapshot.go @@ -16,11 +16,17 @@ import ( // snapshots for backups, to make copies of EBS volumes, and to save data before // shutting down an instance. // -// You can create snapshots of volumes in a Region and volumes on an Outpost. If -// you create a snapshot of a volume in a Region, the snapshot must be stored in -// the same Region as the volume. If you create a snapshot of a volume on an -// Outpost, the snapshot can be stored on the same Outpost as the volume, or in the -// Region for that Outpost. +// The location of the source EBS volume determines where you can create the +// snapshot. +// +// - If the source volume is in a Region, you must create the snapshot in the +// same Region as the volume. +// +// - If the source volume is in a Local Zone, you can create the snapshot in the +// same Local Zone or in parent Amazon Web Services Region. +// +// - If the source volume is on an Outpost, you can create the snapshot on the +// same Outpost or in its parent Amazon Web Services Region. // // When a snapshot is created, any Amazon Web Services Marketplace product codes // that are associated with the source volume are propagated to the snapshot. @@ -41,16 +47,9 @@ import ( // Snapshots that are taken from encrypted volumes are automatically encrypted. // Volumes that are created from encrypted snapshots are also automatically // encrypted. Your encrypted volumes and any associated snapshots always remain -// protected. -// -// You can tag your snapshots during creation. For more information, see [Tag your Amazon EC2 resources] in the -// Amazon EC2 User Guide. -// -// For more information, see [Amazon EBS] and [Amazon EBS encryption] in the Amazon EBS User Guide. +// protected. For more information, [Amazon EBS encryption]in the Amazon EBS User Guide. // -// [Amazon EBS]: https://docs.aws.amazon.com/ebs/latest/userguide/what-is-ebs.html // [Amazon EBS encryption]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html -// [Tag your Amazon EC2 resources]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html func (c *Client) CreateSnapshot(ctx context.Context, params *CreateSnapshotInput, optFns ...func(*Options)) (*CreateSnapshotOutput, error) { if params == nil { params = &CreateSnapshotInput{} @@ -82,19 +81,27 @@ type CreateSnapshotInput struct { // UnauthorizedOperation . DryRun *bool - // The Amazon Resource Name (ARN) of the Outpost on which to create a local - // snapshot. + // Only supported for volumes in Local Zones. If the source volume is not in a + // Local Zone, omit this parameter. // - // - To create a snapshot of a volume in a Region, omit this parameter. The - // snapshot is created in the same Region as the volume. + // - To create a local snapshot in the same Local Zone as the source volume, + // specify local . // - // - To create a snapshot of a volume on an Outpost and store the snapshot in - // the Region, omit this parameter. The snapshot is created in the Region for the - // Outpost. + // - To create a regional snapshot in the parent Region of the Local Zone, + // specify regional or omit this parameter. // - // - To create a snapshot of a volume on an Outpost and store the snapshot on an - // Outpost, specify the ARN of the destination Outpost. The snapshot must be - // created on the same Outpost as the volume. + // Default value: regional + Location types.SnapshotLocationEnum + + // Only supported for volumes on Outposts. If the source volume is not on an + // Outpost, omit this parameter. + // + // - To create the snapshot on the same Outpost as the source volume, specify + // the ARN of that Outpost. The snapshot must be created on the same Outpost as the + // volume. + // + // - To create the snapshot in the parent Region of the Outpost, omit this + // parameter. // // For more information, see [Create local snapshots from volumes on an Outpost] in the Amazon EBS User Guide. // @@ -110,6 +117,10 @@ type CreateSnapshotInput struct { // Describes a snapshot. type CreateSnapshotOutput struct { + // The Availability Zone or Local Zone of the snapshot. For example, us-west-1a + // (Availability Zone) or us-west-2-lax-1a (Local Zone). + AvailabilityZone *string + // Only for snapshot copies created with time-based snapshot copy operations. // // The completion duration requested for the time-based snapshot copy operation. diff --git a/service/ec2/api_op_CreateSnapshots.go b/service/ec2/api_op_CreateSnapshots.go index c8f6c0fa9e0..02db596189a 100644 --- a/service/ec2/api_op_CreateSnapshots.go +++ b/service/ec2/api_op_CreateSnapshots.go @@ -11,19 +11,24 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates crash-consistent snapshots of multiple EBS volumes and stores the data -// in S3. Volumes are chosen by specifying an instance. Any attached volumes will -// produce one snapshot each that is crash-consistent across the instance. +// Creates crash-consistent snapshots of multiple EBS volumes attached to an +// Amazon EC2 instance. Volumes are chosen by specifying an instance. Each volume +// attached to the specified instance will produce one snapshot that is +// crash-consistent across the instance. You can include all of the volumes +// currently attached to the instance, or you can exclude the root volume or +// specific data (non-root) volumes from the multi-volume snapshot set. // -// You can include all of the volumes currently attached to the instance, or you -// can exclude the root volume or specific data (non-root) volumes from the -// multi-volume snapshot set. +// The location of the source instance determines where you can create the +// snapshots. // -// You can create multi-volume snapshots of instances in a Region and instances on -// an Outpost. If you create snapshots from an instance in a Region, the snapshots -// must be stored in the same Region as the instance. If you create snapshots from -// an instance on an Outpost, the snapshots can be stored on the same Outpost as -// the instance, or in the Region for that Outpost. +// - If the source instance is in a Region, you must create the snapshots in the +// same Region as the instance. +// +// - If the source instance is in a Local Zone, you can create the snapshots in +// the same Local Zone or in parent Amazon Web Services Region. +// +// - If the source instance is on an Outpost, you can create the snapshots on +// the same Outpost or in its parent Amazon Web Services Region. func (c *Client) CreateSnapshots(ctx context.Context, params *CreateSnapshotsInput, optFns ...func(*Options)) (*CreateSnapshotsOutput, error) { if params == nil { params = &CreateSnapshotsInput{} @@ -58,23 +63,31 @@ type CreateSnapshotsInput struct { // UnauthorizedOperation . DryRun *bool - // The Amazon Resource Name (ARN) of the Outpost on which to create the local - // snapshots. + // Only supported for instances in Local Zones. If the source instance is not in a + // Local Zone, omit this parameter. + // + // - To create local snapshots in the same Local Zone as the source instance, + // specify local . // - // - To create snapshots from an instance in a Region, omit this parameter. The - // snapshots are created in the same Region as the instance. + // - To create a regional snapshots in the parent Region of the Local Zone, + // specify regional or omit this parameter. + // + // Default value: regional + Location types.SnapshotLocationEnum + + // Only supported for instances on Outposts. If the source instance is not on an + // Outpost, omit this parameter. // - // - To create snapshots from an instance on an Outpost and store the snapshots - // in the Region, omit this parameter. The snapshots are created in the Region for - // the Outpost. + // - To create the snapshots on the same Outpost as the source instance, specify + // the ARN of that Outpost. The snapshots must be created on the same Outpost as + // the instance. // - // - To create snapshots from an instance on an Outpost and store the snapshots - // on an Outpost, specify the ARN of the destination Outpost. The snapshots must be - // created on the same Outpost as the instance. + // - To create the snapshots in the parent Region of the Outpost, omit this + // parameter. // - // For more information, see [Create multi-volume local snapshots from instances on an Outpost] in the Amazon EBS User Guide. + // For more information, see [Create local snapshots from volumes on an Outpost] in the Amazon EBS User Guide. // - // [Create multi-volume local snapshots from instances on an Outpost]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-multivol-snapshot + // [Create local snapshots from volumes on an Outpost]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot OutpostArn *string // Tags to apply to every snapshot specified by the instance. diff --git a/service/ec2/deserializers.go b/service/ec2/deserializers.go index 3eefdeb4655..9c0525646e5 100644 --- a/service/ec2/deserializers.go +++ b/service/ec2/deserializers.go @@ -127849,6 +127849,19 @@ func awsEc2query_deserializeDocumentSnapshot(v **types.Snapshot, decoder smithyx originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("availabilityZone", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AvailabilityZone = ptr.String(xtv) + } + case strings.EqualFold("completionDurationMinutes", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -128405,6 +128418,19 @@ func awsEc2query_deserializeDocumentSnapshotInfo(v **types.SnapshotInfo, decoder originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("availabilityZone", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AvailabilityZone = ptr.String(xtv) + } + case strings.EqualFold("description", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -157444,6 +157470,19 @@ func awsEc2query_deserializeOpDocumentCreateSnapshotOutput(v **CreateSnapshotOut originalDecoder := decoder decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { + case strings.EqualFold("availabilityZone", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.AvailabilityZone = ptr.String(xtv) + } + case strings.EqualFold("completionDurationMinutes", t.Name.Local): val, err := decoder.Value() if err != nil { diff --git a/service/ec2/serializers.go b/service/ec2/serializers.go index 34ff494bb5d..b57f10c9078 100644 --- a/service/ec2/serializers.go +++ b/service/ec2/serializers.go @@ -60530,6 +60530,11 @@ func awsEc2query_serializeOpDocumentCreateSnapshotInput(v *CreateSnapshotInput, objectKey.Boolean(*v.DryRun) } + if len(v.Location) > 0 { + objectKey := object.Key("Location") + objectKey.String(string(v.Location)) + } + if v.OutpostArn != nil { objectKey := object.Key("OutpostArn") objectKey.String(*v.OutpostArn) @@ -60576,6 +60581,11 @@ func awsEc2query_serializeOpDocumentCreateSnapshotsInput(v *CreateSnapshotsInput } } + if len(v.Location) > 0 { + objectKey := object.Key("Location") + objectKey.String(string(v.Location)) + } + if v.OutpostArn != nil { objectKey := object.Key("OutpostArn") objectKey.String(*v.OutpostArn) diff --git a/service/ec2/types/enums.go b/service/ec2/types/enums.go index 1ede60e15c5..4d926f1f8d7 100644 --- a/service/ec2/types/enums.go +++ b/service/ec2/types/enums.go @@ -7963,6 +7963,25 @@ func (SnapshotBlockPublicAccessState) Values() []SnapshotBlockPublicAccessState } } +type SnapshotLocationEnum string + +// Enum values for SnapshotLocationEnum +const ( + SnapshotLocationEnumRegional SnapshotLocationEnum = "regional" + SnapshotLocationEnumLocal SnapshotLocationEnum = "local" +) + +// Values returns all known values for SnapshotLocationEnum. Note that this can be +// expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (SnapshotLocationEnum) Values() []SnapshotLocationEnum { + return []SnapshotLocationEnum{ + "regional", + "local", + } +} + type SnapshotState string // Enum values for SnapshotState diff --git a/service/ec2/types/types.go b/service/ec2/types/types.go index 5c2ceea7803..7ea991bc3ba 100644 --- a/service/ec2/types/types.go +++ b/service/ec2/types/types.go @@ -16778,6 +16778,10 @@ type SlotStartTimeRangeRequest struct { // Describes a snapshot. type Snapshot struct { + // The Availability Zone or Local Zone of the snapshot. For example, us-west-1a + // (Availability Zone) or us-west-2-lax-1a (Local Zone). + AvailabilityZone *string + // Only for snapshot copies created with time-based snapshot copy operations. // // The completion duration requested for the time-based snapshot copy operation. @@ -16937,6 +16941,10 @@ type SnapshotDiskContainer struct { // Information about a snapshot. type SnapshotInfo struct { + // The Availability Zone or Local Zone of the snapshots. For example, us-west-1a + // (Availability Zone) or us-west-2-lax-1a (Local Zone). + AvailabilityZone *string + // Description specified by the CreateSnapshotRequest that has been applied to all // snapshots. Description *string diff --git a/service/greengrassv2/api_op_GetCoreDevice.go b/service/greengrassv2/api_op_GetCoreDevice.go index 644395c91bf..a6192f256e2 100644 --- a/service/greengrassv2/api_op_GetCoreDevice.go +++ b/service/greengrassv2/api_op_GetCoreDevice.go @@ -83,6 +83,13 @@ type GetCoreDeviceOutput struct { // The operating system platform that the core device runs. Platform *string + // The runtime for the core device. The runtime can be: + // + // - aws_nucleus_classic + // + // - aws_nucleus_lite + Runtime *string + // The status of the core device. The core device status can be: // // - HEALTHY – The IoT Greengrass Core software and all components run on the diff --git a/service/greengrassv2/api_op_ListCoreDevices.go b/service/greengrassv2/api_op_ListCoreDevices.go index 5bde0592801..6938ad9cc47 100644 --- a/service/greengrassv2/api_op_ListCoreDevices.go +++ b/service/greengrassv2/api_op_ListCoreDevices.go @@ -26,7 +26,13 @@ import ( // - When the core device receives a deployment from the Amazon Web Services // Cloud // -// - When the status of any component on the core device becomes BROKEN +// - For Greengrass nucleus 2.12.2 and earlier, the core device sends status +// updates when the status of any component on the core device becomes ERRORED or +// BROKEN . +// +// - For Greengrass nucleus 2.12.3 and later, the core device sends status +// updates when the status of any component on the core device becomes ERRORED , +// BROKEN , RUNNING , or FINISHED . // // - At a [regular interval that you can configure], which defaults to 24 hours // @@ -57,6 +63,13 @@ type ListCoreDevicesInput struct { // The token to be used for the next set of paginated results. NextToken *string + // The runtime to be used by the core device. The runtime can be: + // + // - aws_nucleus_classic + // + // - aws_nucleus_lite + Runtime *string + // The core device status by which to filter. If you specify this parameter, the // list includes only core devices that have this status. Choose one of the // following options: diff --git a/service/greengrassv2/deserializers.go b/service/greengrassv2/deserializers.go index 6fb2492ff3d..15efc7a2cfa 100644 --- a/service/greengrassv2/deserializers.go +++ b/service/greengrassv2/deserializers.go @@ -2534,6 +2534,15 @@ func awsRestjson1_deserializeOpDocumentGetCoreDeviceOutput(v **GetCoreDeviceOutp sv.Platform = ptr.String(jtv) } + case "runtime": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected CoreDeviceRuntimeString to be of type string, got %T instead", value) + } + sv.Runtime = ptr.String(jtv) + } + case "status": if value != nil { jtv, ok := value.(string) @@ -6258,6 +6267,15 @@ func awsRestjson1_deserializeDocumentCoreDevice(v **types.CoreDevice, value inte for key, value := range shape { switch key { + case "architecture": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected CoreDeviceArchitectureString to be of type string, got %T instead", value) + } + sv.Architecture = ptr.String(jtv) + } + case "coreDeviceThingName": if value != nil { jtv, ok := value.(string) @@ -6283,6 +6301,24 @@ func awsRestjson1_deserializeDocumentCoreDevice(v **types.CoreDevice, value inte } } + case "platform": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected CoreDevicePlatformString to be of type string, got %T instead", value) + } + sv.Platform = ptr.String(jtv) + } + + case "runtime": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected CoreDeviceRuntimeString to be of type string, got %T instead", value) + } + sv.Runtime = ptr.String(jtv) + } + case "status": if value != nil { jtv, ok := value.(string) diff --git a/service/greengrassv2/serializers.go b/service/greengrassv2/serializers.go index b72c1aab523..dd94864cf7b 100644 --- a/service/greengrassv2/serializers.go +++ b/service/greengrassv2/serializers.go @@ -1660,6 +1660,10 @@ func awsRestjson1_serializeOpHttpBindingsListCoreDevicesInput(v *ListCoreDevices encoder.SetQuery("nextToken").String(*v.NextToken) } + if v.Runtime != nil { + encoder.SetQuery("runtime").String(*v.Runtime) + } + if len(v.Status) > 0 { encoder.SetQuery("status").String(string(v.Status)) } diff --git a/service/greengrassv2/types/types.go b/service/greengrassv2/types/types.go index be15abdaab2..838946ff18f 100644 --- a/service/greengrassv2/types/types.go +++ b/service/greengrassv2/types/types.go @@ -348,6 +348,9 @@ type ConnectivityInfo struct { // runs the IoT Greengrass Core software. type CoreDevice struct { + // The computer architecture of the core device. + Architecture *string + // The name of the core device. This is also the name of the IoT thing. CoreDeviceThingName *string @@ -355,6 +358,16 @@ type CoreDevice struct { // format. LastStatusUpdateTimestamp *time.Time + // The operating system platform that the core device runs. + Platform *string + + // The runtime for the core device. The runtime can be: + // + // - aws_nucleus_classic + // + // - aws_nucleus_lite + Runtime *string + // The status of the core device. Core devices can have the following statuses: // // - HEALTHY – The IoT Greengrass Core software and all components run on the diff --git a/service/medialive/deserializers.go b/service/medialive/deserializers.go index b815bbd2d8e..be1d2ed8468 100644 --- a/service/medialive/deserializers.go +++ b/service/medialive/deserializers.go @@ -29906,6 +29906,24 @@ func awsRestjson1_deserializeDocumentCmafIngestGroupSettings(v **types.CmafInges return err } + case "klvBehavior": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected CmafKLVBehavior to be of type string, got %T instead", value) + } + sv.KlvBehavior = types.CmafKLVBehavior(jtv) + } + + case "klvNameModifier": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected __stringMax100 to be of type string, got %T instead", value) + } + sv.KlvNameModifier = ptr.String(jtv) + } + case "nielsenId3Behavior": if value != nil { jtv, ok := value.(string) @@ -29915,6 +29933,24 @@ func awsRestjson1_deserializeDocumentCmafIngestGroupSettings(v **types.CmafInges sv.NielsenId3Behavior = types.CmafNielsenId3Behavior(jtv) } + case "nielsenId3NameModifier": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected __stringMax100 to be of type string, got %T instead", value) + } + sv.NielsenId3NameModifier = ptr.String(jtv) + } + + case "scte35NameModifier": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected __stringMax100 to be of type string, got %T instead", value) + } + sv.Scte35NameModifier = ptr.String(jtv) + } + case "scte35Type": if value != nil { jtv, ok := value.(string) @@ -38549,6 +38585,15 @@ func awsRestjson1_deserializeDocumentMediaPackageOutputDestinationSettings(v **t for key, value := range shape { switch key { + case "channelGroup": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected __stringMin1 to be of type string, got %T instead", value) + } + sv.ChannelGroup = ptr.String(jtv) + } + case "channelId": if value != nil { jtv, ok := value.(string) @@ -38558,6 +38603,15 @@ func awsRestjson1_deserializeDocumentMediaPackageOutputDestinationSettings(v **t sv.ChannelId = ptr.String(jtv) } + case "channelName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected __stringMin1 to be of type string, got %T instead", value) + } + sv.ChannelName = ptr.String(jtv) + } + default: _, _ = key, value diff --git a/service/medialive/serializers.go b/service/medialive/serializers.go index 184885ac03f..fca7bcbedd5 100644 --- a/service/medialive/serializers.go +++ b/service/medialive/serializers.go @@ -12217,11 +12217,31 @@ func awsRestjson1_serializeDocumentCmafIngestGroupSettings(v *types.CmafIngestGr } } + if len(v.KlvBehavior) > 0 { + ok := object.Key("klvBehavior") + ok.String(string(v.KlvBehavior)) + } + + if v.KlvNameModifier != nil { + ok := object.Key("klvNameModifier") + ok.String(*v.KlvNameModifier) + } + if len(v.NielsenId3Behavior) > 0 { ok := object.Key("nielsenId3Behavior") ok.String(string(v.NielsenId3Behavior)) } + if v.NielsenId3NameModifier != nil { + ok := object.Key("nielsenId3NameModifier") + ok.String(*v.NielsenId3NameModifier) + } + + if v.Scte35NameModifier != nil { + ok := object.Key("scte35NameModifier") + ok.String(*v.Scte35NameModifier) + } + if len(v.Scte35Type) > 0 { ok := object.Key("scte35Type") ok.String(string(v.Scte35Type)) @@ -15434,11 +15454,21 @@ func awsRestjson1_serializeDocumentMediaPackageOutputDestinationSettings(v *type object := value.Object() defer object.Close() + if v.ChannelGroup != nil { + ok := object.Key("channelGroup") + ok.String(*v.ChannelGroup) + } + if v.ChannelId != nil { ok := object.Key("channelId") ok.String(*v.ChannelId) } + if v.ChannelName != nil { + ok := object.Key("channelName") + ok.String(*v.ChannelName) + } + return nil } diff --git a/service/medialive/types/enums.go b/service/medialive/types/enums.go index 94e57f6c358..0949121ef52 100644 --- a/service/medialive/types/enums.go +++ b/service/medialive/types/enums.go @@ -1181,6 +1181,25 @@ func (CmafIngestSegmentLengthUnits) Values() []CmafIngestSegmentLengthUnits { } } +type CmafKLVBehavior string + +// Enum values for CmafKLVBehavior +const ( + CmafKLVBehaviorNoPassthrough CmafKLVBehavior = "NO_PASSTHROUGH" + CmafKLVBehaviorPassthrough CmafKLVBehavior = "PASSTHROUGH" +) + +// Values returns all known values for CmafKLVBehavior. Note that this can be +// expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (CmafKLVBehavior) Values() []CmafKLVBehavior { + return []CmafKLVBehavior{ + "NO_PASSTHROUGH", + "PASSTHROUGH", + } +} + type CmafNielsenId3Behavior string // Enum values for CmafNielsenId3Behavior diff --git a/service/medialive/types/types.go b/service/medialive/types/types.go index 24ac11d14af..242fd492205 100644 --- a/service/medialive/types/types.go +++ b/service/medialive/types/types.go @@ -1510,11 +1510,36 @@ type CmafIngestGroupSettings struct { // This member is required. Destination *OutputLocationRef + // If set to passthrough, passes any KLV data from the input source to this output. + KlvBehavior CmafKLVBehavior + + // Change the modifier that MediaLive automatically adds to the Streams() name + // that identifies a KLV track. The default is "klv", which means the default name + // will be Streams(klv.cmfm). Any string you enter here will replace the "klv" + // string.\nThe modifier can only contain: numbers, letters, plus (+), minus (-), + // underscore (_) and period (.) and has a maximum length of 100 characters. + KlvNameModifier *string + // If set to passthrough, Nielsen inaudible tones for media tracking will be // detected in the input audio and an equivalent ID3 tag will be inserted in the // output. NielsenId3Behavior CmafNielsenId3Behavior + // Change the modifier that MediaLive automatically adds to the Streams() name + // that identifies a Nielsen ID3 track. The default is "nid3", which means the + // default name will be Streams(nid3.cmfm). Any string you enter here will replace + // the "nid3" string.\nThe modifier can only contain: numbers, letters, plus (+), + // minus (-), underscore (_) and period (.) and has a maximum length of 100 + // characters. + NielsenId3NameModifier *string + + // Change the modifier that MediaLive automatically adds to the Streams() name for + // a SCTE 35 track. The default is "scte", which means the default name will be + // Streams(scte.cmfm). Any string you enter here will replace the "scte" + // string.\nThe modifier can only contain: numbers, letters, plus (+), minus (-), + // underscore (_) and period (.) and has a maximum length of 100 characters. + Scte35NameModifier *string + // Type of scte35 track to add. none or scte35WithoutSegmentation Scte35Type Scte35Type @@ -2428,7 +2453,9 @@ type Fmp4HlsSettings struct { // output. NielsenId3Behavior Fmp4NielsenId3Behavior - // When set to passthrough, timed metadata is passed through from input to output. + // Set to PASSTHROUGH to enable ID3 metadata insertion. To include metadata, you + // configure other parameters in the output group or individual outputs, or you add + // an ID3 action to the channel schedule. TimedMetadataBehavior Fmp4TimedMetadataBehavior noSmithyDocumentSerde @@ -3435,16 +3462,19 @@ type HlsGroupSettings struct { noSmithyDocumentSerde } -// Settings for the action to insert a user-defined ID3 tag in each HLS segment +// Settings for the action to insert ID3 metadata in every segment, in HLS output +// groups. type HlsId3SegmentTaggingScheduleActionSettings struct { - // Base64 string formatted according to the ID3 specification: - // http://id3.org/id3v2.4.0-structure + // Complete this parameter if you want to specify the entire ID3 metadata. Enter a + // base64 string that contains one or more fully formed ID3 tags, according to the + // ID3 specification: http://id3.org/id3v2.4.0-structure Id3 *string - // ID3 tag to insert into each segment. Supports special keyword identifiers to - // substitute in segment-related values.\nSupported keyword identifiers: - // https://docs.aws.amazon.com/medialive/latest/ug/variable-data-identifiers.html + // Complete this parameter if you want to specify only the metadata, not the + // entire frame. MediaLive will insert the metadata in a TXXX frame. Enter the + // value as plain text. You can include standard MediaLive variable data such as + // the current segment number. Tag *string noSmithyDocumentSerde @@ -3557,11 +3587,12 @@ type HlsSettings struct { noSmithyDocumentSerde } -// Settings for the action to emit HLS metadata +// Settings for the action to insert ID3 metadata (as a one-time action) in HLS +// output groups. type HlsTimedMetadataScheduleActionSettings struct { - // Base64 string formatted according to the ID3 specification: - // http://id3.org/id3v2.4.0-structure + // Enter a base64 string that contains one or more fully formed ID3 tags.See the + // ID3 specification: http://id3.org/id3v2.4.0-structure // // This member is required. Id3 *string @@ -4776,7 +4807,9 @@ type M3u8Settings struct { // entered as a decimal or hexadecimal value. Scte35Pid *string - // When set to passthrough, timed metadata is passed through from input to output. + // Set to PASSTHROUGH to enable ID3 metadata insertion. To include metadata, you + // configure other parameters in the output group or individual outputs, or you add + // an ID3 action to the channel schedule. TimedMetadataBehavior M3u8TimedMetadataBehavior // Packet Identifier (PID) of the timed metadata stream in the transport stream. @@ -4876,6 +4909,11 @@ type MediaPackageGroupSettings struct { // MediaPackage Output Destination Settings type MediaPackageOutputDestinationSettings struct { + // Name of the channel group in MediaPackageV2. Only use if you are sending CMAF + // Ingest output to a CMAF ingest endpoint on a MediaPackage channel that uses + // MediaPackage v2. + ChannelGroup *string + // ID of the channel in MediaPackage that is the destination for this output // group. You do not need to specify the individual inputs in MediaPackage; // MediaLive will handle the connection of the two MediaLive pipelines to the two @@ -4883,6 +4921,11 @@ type MediaPackageOutputDestinationSettings struct { // the same region. ChannelId *string + // Name of the channel in MediaPackageV2. Only use if you are sending CMAF Ingest + // output to a CMAF ingest endpoint on a MediaPackage channel that uses + // MediaPackage v2. + ChannelName *string + noSmithyDocumentSerde } @@ -6399,10 +6442,10 @@ type ScheduleAction struct { // Holds the settings for a single schedule action. type ScheduleActionSettings struct { - // Action to insert HLS ID3 segment tagging + // Action to insert ID3 metadata in every segment, in HLS output groups HlsId3SegmentTaggingSettings *HlsId3SegmentTaggingScheduleActionSettings - // Action to insert HLS metadata + // Action to insert ID3 metadata once, in HLS output groups HlsTimedMetadataSettings *HlsTimedMetadataScheduleActionSettings // Action to prepare an input for a future immediate input switch diff --git a/service/rds/types/enums.go b/service/rds/types/enums.go index 27b68b9f40a..8391cd72a01 100644 --- a/service/rds/types/enums.go +++ b/service/rds/types/enums.go @@ -145,10 +145,11 @@ type ClientPasswordAuthType string // Enum values for ClientPasswordAuthType const ( - ClientPasswordAuthTypeMysqlNativePassword ClientPasswordAuthType = "MYSQL_NATIVE_PASSWORD" - ClientPasswordAuthTypePostgresScramSha256 ClientPasswordAuthType = "POSTGRES_SCRAM_SHA_256" - ClientPasswordAuthTypePostgresMd5 ClientPasswordAuthType = "POSTGRES_MD5" - ClientPasswordAuthTypeSqlServerAuthentication ClientPasswordAuthType = "SQL_SERVER_AUTHENTICATION" + ClientPasswordAuthTypeMysqlNativePassword ClientPasswordAuthType = "MYSQL_NATIVE_PASSWORD" + ClientPasswordAuthTypeMysqlCachingSha2Password ClientPasswordAuthType = "MYSQL_CACHING_SHA2_PASSWORD" + ClientPasswordAuthTypePostgresScramSha256 ClientPasswordAuthType = "POSTGRES_SCRAM_SHA_256" + ClientPasswordAuthTypePostgresMd5 ClientPasswordAuthType = "POSTGRES_MD5" + ClientPasswordAuthTypeSqlServerAuthentication ClientPasswordAuthType = "SQL_SERVER_AUTHENTICATION" ) // Values returns all known values for ClientPasswordAuthType. Note that this can @@ -158,6 +159,7 @@ const ( func (ClientPasswordAuthType) Values() []ClientPasswordAuthType { return []ClientPasswordAuthType{ "MYSQL_NATIVE_PASSWORD", + "MYSQL_CACHING_SHA2_PASSWORD", "POSTGRES_SCRAM_SHA_256", "POSTGRES_MD5", "SQL_SERVER_AUTHENTICATION",