From 082781faee876f9d612fa7c113b4304a29766b14 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Tue, 18 Feb 2025 20:02:53 +0000 Subject: [PATCH] Regenerated Clients --- .../52a51160876440f69943ea133e09bb35.json | 8 ++ .../c93e86f5bf0841c9b1811d0aad9e4038.json | 8 ++ .../eb74ba921d8548c193216ae4cf236d56.json | 8 ++ .../batch/api_op_CreateComputeEnvironment.go | 4 +- service/batch/api_op_CreateJobQueue.go | 17 ++-- .../batch/api_op_CreateSchedulingPolicy.go | 8 +- service/batch/api_op_GetJobQueueSnapshot.go | 2 +- service/batch/api_op_RegisterJobDefinition.go | 2 +- service/batch/api_op_SubmitJob.go | 10 +-- .../batch/api_op_UpdateComputeEnvironment.go | 4 +- service/batch/api_op_UpdateJobQueue.go | 4 +- .../batch/api_op_UpdateSchedulingPolicy.go | 2 +- service/batch/types/types.go | 84 +++++++++---------- service/emrcontainers/deserializers.go | 54 ++++++++++++ service/emrcontainers/serializers.go | 24 ++++++ service/emrcontainers/types/enums.go | 19 +++++ service/emrcontainers/types/types.go | 15 ++++ .../api_op_CreateChannelPlacementGroup.go | 2 +- .../api_op_DeleteChannelPlacementGroup.go | 2 +- .../api_op_DescribeChannelPlacementGroup.go | 2 +- .../api_op_StartMonitorDeployment.go | 40 --------- .../api_op_UpdateChannelPlacementGroup.go | 2 +- service/medialive/serializers.go | 5 -- .../api_op_StartMonitorDeployment.go.snap | 1 - service/medialive/types/enums.go | 18 ++-- service/medialive/types/types.go | 2 +- service/polly/internal/endpoints/endpoints.go | 9 ++ service/ram/internal/endpoints/endpoints.go | 21 +++++ 28 files changed, 249 insertions(+), 128 deletions(-) create mode 100644 .changelog/52a51160876440f69943ea133e09bb35.json create mode 100644 .changelog/c93e86f5bf0841c9b1811d0aad9e4038.json create mode 100644 .changelog/eb74ba921d8548c193216ae4cf236d56.json diff --git a/.changelog/52a51160876440f69943ea133e09bb35.json b/.changelog/52a51160876440f69943ea133e09bb35.json new file mode 100644 index 00000000000..ddd9d7660dd --- /dev/null +++ b/.changelog/52a51160876440f69943ea133e09bb35.json @@ -0,0 +1,8 @@ +{ + "id": "52a51160-8764-40f6-9943-ea133e09bb35", + "type": "feature", + "description": "Adds support for creating CloudWatchAlarmTemplates for AWS Elemental MediaTailor Playback Configuration resources.", + "modules": [ + "service/medialive" + ] +} \ No newline at end of file diff --git a/.changelog/c93e86f5bf0841c9b1811d0aad9e4038.json b/.changelog/c93e86f5bf0841c9b1811d0aad9e4038.json new file mode 100644 index 00000000000..5d47cc6780e --- /dev/null +++ b/.changelog/c93e86f5bf0841c9b1811d0aad9e4038.json @@ -0,0 +1,8 @@ +{ + "id": "c93e86f5-bf08-41c9-b181-1d0aad9e4038", + "type": "feature", + "description": "EMR on EKS StartJobRun Api will be supporting the configuration of log storage in AWS by using \"managedLogs\" under \"MonitoringConfiguration\".", + "modules": [ + "service/emrcontainers" + ] +} \ No newline at end of file diff --git a/.changelog/eb74ba921d8548c193216ae4cf236d56.json b/.changelog/eb74ba921d8548c193216ae4cf236d56.json new file mode 100644 index 00000000000..fe97f439ff0 --- /dev/null +++ b/.changelog/eb74ba921d8548c193216ae4cf236d56.json @@ -0,0 +1,8 @@ +{ + "id": "eb74ba92-1d85-48c1-9321-6ae4cf236d56", + "type": "documentation", + "description": "This documentation-only update corrects some typos.", + "modules": [ + "service/batch" + ] +} \ No newline at end of file diff --git a/service/batch/api_op_CreateComputeEnvironment.go b/service/batch/api_op_CreateComputeEnvironment.go index 6f413471e43..8031d29a198 100644 --- a/service/batch/api_op_CreateComputeEnvironment.go +++ b/service/batch/api_op_CreateComputeEnvironment.go @@ -206,8 +206,8 @@ type CreateComputeEnvironmentInput struct { Tags map[string]string // The maximum number of vCPUs for an unmanaged compute environment. This - // parameter is only used for fair share scheduling to reserve vCPU capacity for - // new share identifiers. If this parameter isn't provided for a fair share job + // parameter is only used for fair-share scheduling to reserve vCPU capacity for + // new share identifiers. If this parameter isn't provided for a fair-share job // queue, no vCPU capacity is reserved. // // This parameter is only supported when the type parameter is set to UNMANAGED . diff --git a/service/batch/api_op_CreateJobQueue.go b/service/batch/api_op_CreateJobQueue.go index fb63119ecc8..884e6d5c907 100644 --- a/service/batch/api_op_CreateJobQueue.go +++ b/service/batch/api_op_CreateJobQueue.go @@ -76,20 +76,21 @@ type CreateJobQueueInput struct { // maxTimeSeconds is 600 (10 minutes) and its maximum value is 86,400 (24 hours).) JobStateTimeLimitActions []types.JobStateTimeLimitAction - // The Amazon Resource Name (ARN) of the fair share scheduling policy. Job queues - // that don't have a scheduling policy are scheduled in a first-in, first-out - // (FIFO) model. After a job queue has a scheduling policy, it can be replaced but - // can't be removed. + // The Amazon Resource Name (ARN) of the fair-share scheduling policy. Job queues + // that don't have a fair-share scheduling policy are scheduled in a first-in, + // first-out (FIFO) model. After a job queue has a fair-share scheduling policy, it + // can be replaced but can't be removed. // // The format is aws:Partition:batch:Region:Account:scheduling-policy/Name . // // An example is // aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy . // - // A job queue without a scheduling policy is scheduled as a FIFO job queue and - // can't have a scheduling policy added. Jobs queues with a scheduling policy can - // have a maximum of 500 active fair share identifiers. When the limit has been - // reached, submissions of any jobs that add a new fair share identifier fail. + // A job queue without a fair-share scheduling policy is scheduled as a FIFO job + // queue and can't have a fair-share scheduling policy added. Jobs queues with a + // fair-share scheduling policy can have a maximum of 500 active share identifiers. + // When the limit has been reached, submissions of any jobs that add a new share + // identifier fail. SchedulingPolicyArn *string // The state of the job queue. If the job queue state is ENABLED , it is able to diff --git a/service/batch/api_op_CreateSchedulingPolicy.go b/service/batch/api_op_CreateSchedulingPolicy.go index 4e42ef46031..fd87241749c 100644 --- a/service/batch/api_op_CreateSchedulingPolicy.go +++ b/service/batch/api_op_CreateSchedulingPolicy.go @@ -30,14 +30,14 @@ func (c *Client) CreateSchedulingPolicy(ctx context.Context, params *CreateSched // Contains the parameters for CreateSchedulingPolicy . type CreateSchedulingPolicyInput struct { - // The name of the scheduling policy. It can be up to 128 letters long. It can - // contain uppercase and lowercase letters, numbers, hyphens (-), and underscores - // (_). + // The name of the fair-share scheduling policy. It can be up to 128 letters long. + // It can contain uppercase and lowercase letters, numbers, hyphens (-), and + // underscores (_). // // This member is required. Name *string - // The fair share policy of the scheduling policy. + // The fair-share scheduling policy details. FairsharePolicy *types.FairsharePolicy // The tags that you apply to the scheduling policy to help you categorize and diff --git a/service/batch/api_op_GetJobQueueSnapshot.go b/service/batch/api_op_GetJobQueueSnapshot.go index 3b2d39575b5..80dfc8a0400 100644 --- a/service/batch/api_op_GetJobQueueSnapshot.go +++ b/service/batch/api_op_GetJobQueueSnapshot.go @@ -41,7 +41,7 @@ type GetJobQueueSnapshotOutput struct { // The list of the first 100 RUNNABLE jobs in each job queue. For // first-in-first-out (FIFO) job queues, jobs are ordered based on their submission - // time. For fair share scheduling (FSS) job queues, jobs are ordered based on + // time. For fair-share scheduling (FSS) job queues, jobs are ordered based on // their job priority and share usage. FrontOfQueue *types.FrontOfQueueDetail diff --git a/service/batch/api_op_RegisterJobDefinition.go b/service/batch/api_op_RegisterJobDefinition.go index d9080d28eae..a63c454b600 100644 --- a/service/batch/api_op_RegisterJobDefinition.go +++ b/service/batch/api_op_RegisterJobDefinition.go @@ -113,7 +113,7 @@ type RegisterJobDefinitionInput struct { RetryStrategy *types.RetryStrategy // The scheduling priority for jobs that are submitted with this job definition. - // This only affects jobs in job queues with a fair share policy. Jobs with a + // This only affects jobs in job queues with a fair-share policy. Jobs with a // higher scheduling priority are scheduled before jobs with a lower scheduling // priority. // diff --git a/service/batch/api_op_SubmitJob.go b/service/batch/api_op_SubmitJob.go index 4d832b889f7..38c9b01ff46 100644 --- a/service/batch/api_op_SubmitJob.go +++ b/service/batch/api_op_SubmitJob.go @@ -19,8 +19,8 @@ import ( // parameters in a resourceRequirements object that's included in the // containerOverrides parameter. // -// Job queues with a scheduling policy are limited to 500 active fair share -// identifiers at a time. +// Job queues with a scheduling policy are limited to 500 active share identifiers +// at a time. // // Jobs that run on Fargate resources can't be guaranteed to run for more than 14 // days. This is because, after 14 days, Fargate resources might become unavailable @@ -126,7 +126,7 @@ type SubmitJobInput struct { RetryStrategy *types.RetryStrategy // The scheduling priority for the job. This only affects jobs in job queues with - // a fair share policy. Jobs with a higher scheduling priority are scheduled before + // a fair-share policy. Jobs with a higher scheduling priority are scheduled before // jobs with a lower scheduling priority. This overrides any scheduling priority in // the job definition and works only within a single share identifier. // @@ -134,8 +134,8 @@ type SubmitJobInput struct { SchedulingPriorityOverride *int32 // The share identifier for the job. Don't specify this parameter if the job queue - // doesn't have a scheduling policy. If the job queue has a scheduling policy, then - // this parameter must be specified. + // doesn't have a fair-share scheduling policy. If the job queue has a fair-share + // scheduling policy, then this parameter must be specified. // // This string is limited to 255 alphanumeric characters, and can be followed by // an asterisk (*). diff --git a/service/batch/api_op_UpdateComputeEnvironment.go b/service/batch/api_op_UpdateComputeEnvironment.go index ae2a968af4b..435567d5cbf 100644 --- a/service/batch/api_op_UpdateComputeEnvironment.go +++ b/service/batch/api_op_UpdateComputeEnvironment.go @@ -98,8 +98,8 @@ type UpdateComputeEnvironmentInput struct { // The maximum number of vCPUs expected to be used for an unmanaged compute // environment. Don't specify this parameter for a managed compute environment. - // This parameter is only used for fair share scheduling to reserve vCPU capacity - // for new share identifiers. If this parameter isn't provided for a fair share job + // This parameter is only used for fair-share scheduling to reserve vCPU capacity + // for new share identifiers. If this parameter isn't provided for a fair-share job // queue, no vCPU capacity is reserved. UnmanagedvCpus *int32 diff --git a/service/batch/api_op_UpdateJobQueue.go b/service/batch/api_op_UpdateJobQueue.go index ef2b3e6bcaf..7fb1415dc0c 100644 --- a/service/batch/api_op_UpdateJobQueue.go +++ b/service/batch/api_op_UpdateJobQueue.go @@ -62,8 +62,8 @@ type UpdateJobQueueInput struct { // FARGATE_SPOT ). EC2 and Fargate compute environments can't be mixed. Priority *int32 - // Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job - // queue is created, the fair share scheduling policy can be replaced but not + // Amazon Resource Name (ARN) of the fair-share scheduling policy. Once a job + // queue is created, the fair-share scheduling policy can be replaced but not // removed. The format is // aws:Partition:batch:Region:Account:scheduling-policy/Name . For example, // aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy . diff --git a/service/batch/api_op_UpdateSchedulingPolicy.go b/service/batch/api_op_UpdateSchedulingPolicy.go index 846791b1f09..991672b4064 100644 --- a/service/batch/api_op_UpdateSchedulingPolicy.go +++ b/service/batch/api_op_UpdateSchedulingPolicy.go @@ -35,7 +35,7 @@ type UpdateSchedulingPolicyInput struct { // This member is required. Arn *string - // The fair share policy. + // The fair-share policy scheduling details. FairsharePolicy *types.FairsharePolicy noSmithyDocumentSerde diff --git a/service/batch/types/types.go b/service/batch/types/types.go index 9f19664c649..42040cfd3cc 100644 --- a/service/batch/types/types.go +++ b/service/batch/types/types.go @@ -2435,9 +2435,9 @@ type EksPodPropertiesOverride struct { Containers []EksContainerOverride // The overrides for the initContainers defined in the Amazon EKS pod. These - // containers run before application containers, always runs to completion, and - // must complete successfully before the next container starts. These containers - // are registered with the Amazon EKS Connector agent and persists the registration + // containers run before application containers, always run to completion, and must + // complete successfully before the next container starts. These containers are + // registered with the Amazon EKS Connector agent and persists the registration // information in the Kubernetes backend data store. For more information, see [Init Containers]in // the Kubernetes documentation. // @@ -2586,30 +2586,29 @@ type EvaluateOnExit struct { noSmithyDocumentSerde } -// The fair share policy for a scheduling policy. +// The fair-share scheduling policy details. type FairsharePolicy struct { - // A value used to reserve some of the available maximum vCPU for fair share + // A value used to reserve some of the available maximum vCPU for share // identifiers that aren't already used. // // The reserved ratio is (computeReservation/100)^ActiveFairShares where - // ActiveFairShares is the number of active fair share identifiers. + // ActiveFairShares is the number of active share identifiers. // // For example, a computeReservation value of 50 indicates that Batch reserves 50% - // of the maximum available vCPU if there's only one fair share identifier. It - // reserves 25% if there are two fair share identifiers. It reserves 12.5% if there - // are three fair share identifiers. A computeReservation value of 25 indicates - // that Batch should reserve 25% of the maximum available vCPU if there's only one - // fair share identifier, 6.25% if there are two fair share identifiers, and 1.56% - // if there are three fair share identifiers. + // of the maximum available vCPU if there's only one share identifier. It reserves + // 25% if there are two share identifiers. It reserves 12.5% if there are three + // share identifiers. A computeReservation value of 25 indicates that Batch should + // reserve 25% of the maximum available vCPU if there's only one share identifier, + // 6.25% if there are two fair share identifiers, and 1.56% if there are three + // share identifiers. // // The minimum value is 0 and the maximum value is 99. ComputeReservation *int32 - // The amount of time (in seconds) to use to calculate a fair share percentage for - // each fair share identifier in use. A value of zero (0) indicates the default - // minimum time window (600 seconds). The maximum supported value is 604800 (1 - // week). + // The amount of time (in seconds) to use to calculate a fair-share percentage for + // each share identifier in use. A value of zero (0) indicates the default minimum + // time window (600 seconds). The maximum supported value is 604800 (1 week). // // The decay allows for more recently run jobs to have more weight than jobs that // ran earlier. Consider adjusting this number if you have jobs that (on average) @@ -2618,9 +2617,9 @@ type FairsharePolicy struct { // needs. ShareDecaySeconds *int32 - // An array of SharedIdentifier objects that contain the weights for the fair - // share identifiers for the fair share policy. Fair share identifiers that aren't - // included have a default weight of 1.0 . + // An array of SharedIdentifier objects that contain the weights for the share + // identifiers for the fair-share policy. Share identifiers that aren't included + // have a default weight of 1.0 . ShareDistribution []ShareAttributes noSmithyDocumentSerde @@ -2647,7 +2646,7 @@ type FrontOfQueueDetail struct { // The Amazon Resource Names (ARNs) of the first 100 RUNNABLE jobs in a named job // queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their - // submission time. For fair share scheduling (FSS) job queues, jobs are ordered + // submission time. For fair-share scheduling (FSS) job queues, jobs are ordered // based on their job priority and share usage. Jobs []FrontOfQueueJobSummary @@ -2787,7 +2786,7 @@ type JobDefinition struct { RetryStrategy *RetryStrategy // The scheduling priority of the job definition. This only affects jobs in job - // queues with a fair share policy. Jobs with a higher scheduling priority are + // queues with a fair-share policy. Jobs with a higher scheduling priority are // scheduled before jobs with a lower scheduling priority. SchedulingPriority *int32 @@ -2927,7 +2926,7 @@ type JobDetail struct { RetryStrategy *RetryStrategy // The scheduling policy of the job definition. This only affects jobs in job - // queues with a fair share policy. Jobs with a higher scheduling priority are + // queues with a fair-share policy. Jobs with a higher scheduling priority are // scheduled before jobs with a lower scheduling priority. SchedulingPriority *int32 @@ -3346,9 +3345,8 @@ type LinuxParameters struct { // // If a maxSwap value of 0 is specified, the container doesn't use swap. Accepted // values are 0 or any positive integer. If the maxSwap parameter is omitted, the - // container doesn't use the swap configuration for the container instance that - // it's running on. A maxSwap value must be set for the swappiness parameter to be - // used. + // container doesn't use the swap configuration for the container instance on which + // it runs. A maxSwap value must be set for the swappiness parameter to be used. // // This parameter isn't applicable to jobs that are running on Fargate resources. // Don't provide it for these jobs. @@ -3887,17 +3885,17 @@ type SchedulingPolicyDetail struct { // This member is required. Arn *string - // The name of the scheduling policy. + // The name of the fair-share scheduling policy. // // This member is required. Name *string - // The fair share policy for the scheduling policy. + // The fair-share scheduling policy details. FairsharePolicy *FairsharePolicy - // The tags that you apply to the scheduling policy to categorize and organize - // your resources. Each tag consists of a key and an optional value. For more - // information, see [Tagging Amazon Web Services resources]in Amazon Web Services General Reference. + // The tags that you apply to the fair-share scheduling policy to categorize and + // organize your resources. Each tag consists of a key and an optional value. For + // more information, see [Tagging Amazon Web Services resources]in Amazon Web Services General Reference. // // [Tagging Amazon Web Services resources]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html Tags map[string]string @@ -3951,18 +3949,18 @@ type Secret struct { noSmithyDocumentSerde } -// Specifies the weights for the fair share identifiers for the fair share policy. -// Fair share identifiers that aren't included have a default weight of 1.0 . +// Specifies the weights for the share identifiers for the fair-share policy. +// Share identifiers that aren't included have a default weight of 1.0 . type ShareAttributes struct { - // A fair share identifier or fair share identifier prefix. If the string ends - // with an asterisk (*), this entry specifies the weight factor to use for fair - // share identifiers that start with that prefix. The list of fair share - // identifiers in a fair share policy can't overlap. For example, you can't have - // one that specifies a shareIdentifier of UserA* and another that specifies a - // shareIdentifier of UserA-1 . + // A share identifier or share identifier prefix. If the string ends with an + // asterisk (*), this entry specifies the weight factor to use for share + // identifiers that start with that prefix. The list of share identifiers in a + // fair-share policy can't overlap. For example, you can't have one that specifies + // a shareIdentifier of UserA* and another that specifies a shareIdentifier of + // UserA-1 . // - // There can be no more than 500 fair share identifiers active in a job queue. + // There can be no more than 500 share identifiers active in a job queue. // // The string is limited to 255 alphanumeric characters, and can be followed by an // asterisk (*). @@ -3970,10 +3968,10 @@ type ShareAttributes struct { // This member is required. ShareIdentifier *string - // The weight factor for the fair share identifier. The default value is 1.0. A - // lower value has a higher priority for compute resources. For example, jobs that - // use a share identifier with a weight factor of 0.125 (1/8) get 8 times the - // compute resources of jobs that use a share identifier with a weight factor of 1. + // The weight factor for the share identifier. The default value is 1.0. A lower + // value has a higher priority for compute resources. For example, jobs that use a + // share identifier with a weight factor of 0.125 (1/8) get 8 times the compute + // resources of jobs that use a share identifier with a weight factor of 1. // // The smallest supported value is 0.0001, and the largest supported value is // 999.9999. diff --git a/service/emrcontainers/deserializers.go b/service/emrcontainers/deserializers.go index 902b83f21fe..596a47937d4 100644 --- a/service/emrcontainers/deserializers.go +++ b/service/emrcontainers/deserializers.go @@ -5350,6 +5350,55 @@ func awsRestjson1_deserializeDocumentLakeFormationConfiguration(v **types.LakeFo return nil } +func awsRestjson1_deserializeDocumentManagedLogs(v **types.ManagedLogs, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ManagedLogs + if *v == nil { + sv = &types.ManagedLogs{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "allowAWSToRetainLogs": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AllowAWSToRetainLogs to be of type string, got %T instead", value) + } + sv.AllowAWSToRetainLogs = types.AllowAWSToRetainLogs(jtv) + } + + case "encryptionKeyArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected KmsKeyArn to be of type string, got %T instead", value) + } + sv.EncryptionKeyArn = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentMonitoringConfiguration(v **types.MonitoringConfiguration, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -5382,6 +5431,11 @@ func awsRestjson1_deserializeDocumentMonitoringConfiguration(v **types.Monitorin return err } + case "managedLogs": + if err := awsRestjson1_deserializeDocumentManagedLogs(&sv.ManagedLogs, value); err != nil { + return err + } + case "persistentAppUI": if value != nil { jtv, ok := value.(string) diff --git a/service/emrcontainers/serializers.go b/service/emrcontainers/serializers.go index 94ac9d0ee25..740ae459d76 100644 --- a/service/emrcontainers/serializers.go +++ b/service/emrcontainers/serializers.go @@ -2396,6 +2396,23 @@ func awsRestjson1_serializeDocumentLakeFormationConfiguration(v *types.LakeForma return nil } +func awsRestjson1_serializeDocumentManagedLogs(v *types.ManagedLogs, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if len(v.AllowAWSToRetainLogs) > 0 { + ok := object.Key("allowAWSToRetainLogs") + ok.String(string(v.AllowAWSToRetainLogs)) + } + + if v.EncryptionKeyArn != nil { + ok := object.Key("encryptionKeyArn") + ok.String(*v.EncryptionKeyArn) + } + + return nil +} + func awsRestjson1_serializeDocumentMonitoringConfiguration(v *types.MonitoringConfiguration, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -2414,6 +2431,13 @@ func awsRestjson1_serializeDocumentMonitoringConfiguration(v *types.MonitoringCo } } + if v.ManagedLogs != nil { + ok := object.Key("managedLogs") + if err := awsRestjson1_serializeDocumentManagedLogs(v.ManagedLogs, ok); err != nil { + return err + } + } + if len(v.PersistentAppUI) > 0 { ok := object.Key("persistentAppUI") ok.String(string(v.PersistentAppUI)) diff --git a/service/emrcontainers/types/enums.go b/service/emrcontainers/types/enums.go index d99b29215ac..246a5761903 100644 --- a/service/emrcontainers/types/enums.go +++ b/service/emrcontainers/types/enums.go @@ -2,6 +2,25 @@ package types +type AllowAWSToRetainLogs string + +// Enum values for AllowAWSToRetainLogs +const ( + AllowAWSToRetainLogsEnabled AllowAWSToRetainLogs = "ENABLED" + AllowAWSToRetainLogsDisabled AllowAWSToRetainLogs = "DISABLED" +) + +// Values returns all known values for AllowAWSToRetainLogs. 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 (AllowAWSToRetainLogs) Values() []AllowAWSToRetainLogs { + return []AllowAWSToRetainLogs{ + "ENABLED", + "DISABLED", + } +} + type CertificateProviderType string // Enum values for CertificateProviderType diff --git a/service/emrcontainers/types/types.go b/service/emrcontainers/types/types.go index a87ebbfdf58..1c9738f4e27 100644 --- a/service/emrcontainers/types/types.go +++ b/service/emrcontainers/types/types.go @@ -406,6 +406,18 @@ type LakeFormationConfiguration struct { noSmithyDocumentSerde } +// The entity that provides configuration control over managed logs. +type ManagedLogs struct { + + // Determines whether Amazon Web Services can retain logs. + AllowAWSToRetainLogs AllowAWSToRetainLogs + + // The Amazon resource name (ARN) of the encryption key for logs. + EncryptionKeyArn *string + + noSmithyDocumentSerde +} + // Configuration setting for monitoring. type MonitoringConfiguration struct { @@ -415,6 +427,9 @@ type MonitoringConfiguration struct { // Enable or disable container log rotation. ContainerLogRotationConfiguration *ContainerLogRotationConfiguration + // The entity that controls configuration for managed logs. + ManagedLogs *ManagedLogs + // Monitoring configurations for the persistent application UI. PersistentAppUI PersistentAppUI diff --git a/service/medialive/api_op_CreateChannelPlacementGroup.go b/service/medialive/api_op_CreateChannelPlacementGroup.go index f9f6f3b55e8..feb08a268c5 100644 --- a/service/medialive/api_op_CreateChannelPlacementGroup.go +++ b/service/medialive/api_op_CreateChannelPlacementGroup.go @@ -81,7 +81,7 @@ type CreateChannelPlacementGroupOutput struct { // The name that you specified for the ChannelPlacementGroup. Name *string - // An array with one item, which is the signle Node that is associated with the + // An array with one item, which is the single Node that is associated with the // ChannelPlacementGroup. Nodes []string diff --git a/service/medialive/api_op_DeleteChannelPlacementGroup.go b/service/medialive/api_op_DeleteChannelPlacementGroup.go index 6ff6ff9e7d7..47c1803571c 100644 --- a/service/medialive/api_op_DeleteChannelPlacementGroup.go +++ b/service/medialive/api_op_DeleteChannelPlacementGroup.go @@ -63,7 +63,7 @@ type DeleteChannelPlacementGroupOutput struct { // The name that you specified for the ChannelPlacementGroup. Name *string - // An array with one item, which is the signle Node that is associated with the + // An array with one item, which is the single Node that is associated with the // ChannelPlacementGroup. Nodes []string diff --git a/service/medialive/api_op_DescribeChannelPlacementGroup.go b/service/medialive/api_op_DescribeChannelPlacementGroup.go index be25a2d5f41..ca58b1ef077 100644 --- a/service/medialive/api_op_DescribeChannelPlacementGroup.go +++ b/service/medialive/api_op_DescribeChannelPlacementGroup.go @@ -67,7 +67,7 @@ type DescribeChannelPlacementGroupOutput struct { // The name that you specified for the ChannelPlacementGroup. Name *string - // An array with one item, which is the signle Node that is associated with the + // An array with one item, which is the single Node that is associated with the // ChannelPlacementGroup. Nodes []string diff --git a/service/medialive/api_op_StartMonitorDeployment.go b/service/medialive/api_op_StartMonitorDeployment.go index 03e8e5ea265..f96c9bd1fbc 100644 --- a/service/medialive/api_op_StartMonitorDeployment.go +++ b/service/medialive/api_op_StartMonitorDeployment.go @@ -39,10 +39,6 @@ type StartMonitorDeploymentInput struct { // Placeholder documentation for __boolean DryRun *bool - // An ID that you assign to a create request. This ID ensures idempotency when - // creating resources. - RequestId *string - noSmithyDocumentSerde } @@ -177,9 +173,6 @@ func (c *Client) addOperationStartMonitorDeploymentMiddlewares(stack *middleware if err = addUserAgentRetryMode(stack, options); err != nil { return err } - if err = addIdempotencyToken_opStartMonitorDeploymentMiddleware(stack, options); err != nil { - return err - } if err = addOpStartMonitorDeploymentValidationMiddleware(stack); err != nil { return err } @@ -216,39 +209,6 @@ func (c *Client) addOperationStartMonitorDeploymentMiddlewares(stack *middleware return nil } -type idempotencyToken_initializeOpStartMonitorDeployment struct { - tokenProvider IdempotencyTokenProvider -} - -func (*idempotencyToken_initializeOpStartMonitorDeployment) ID() string { - return "OperationIdempotencyTokenAutoFill" -} - -func (m *idempotencyToken_initializeOpStartMonitorDeployment) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( - out middleware.InitializeOutput, metadata middleware.Metadata, err error, -) { - if m.tokenProvider == nil { - return next.HandleInitialize(ctx, in) - } - - input, ok := in.Parameters.(*StartMonitorDeploymentInput) - if !ok { - return out, metadata, fmt.Errorf("expected middleware input to be of type *StartMonitorDeploymentInput ") - } - - if input.RequestId == nil { - t, err := m.tokenProvider.GetIdempotencyToken() - if err != nil { - return out, metadata, err - } - input.RequestId = &t - } - return next.HandleInitialize(ctx, in) -} -func addIdempotencyToken_opStartMonitorDeploymentMiddleware(stack *middleware.Stack, cfg Options) error { - return stack.Initialize.Add(&idempotencyToken_initializeOpStartMonitorDeployment{tokenProvider: cfg.IdempotencyTokenProvider}, middleware.Before) -} - func newServiceMetadataMiddleware_opStartMonitorDeployment(region string) *awsmiddleware.RegisterServiceMetadata { return &awsmiddleware.RegisterServiceMetadata{ Region: region, diff --git a/service/medialive/api_op_UpdateChannelPlacementGroup.go b/service/medialive/api_op_UpdateChannelPlacementGroup.go index 6e258d66319..a5b7fe0244e 100644 --- a/service/medialive/api_op_UpdateChannelPlacementGroup.go +++ b/service/medialive/api_op_UpdateChannelPlacementGroup.go @@ -72,7 +72,7 @@ type UpdateChannelPlacementGroupOutput struct { // The name that you specified for the ChannelPlacementGroup. Name *string - // An array with one item, which is the signle Node that is associated with the + // An array with one item, which is the single Node that is associated with the // ChannelPlacementGroup. Nodes []string diff --git a/service/medialive/serializers.go b/service/medialive/serializers.go index 830e1b8e87d..05ff4bba07e 100644 --- a/service/medialive/serializers.go +++ b/service/medialive/serializers.go @@ -7681,11 +7681,6 @@ func awsRestjson1_serializeOpDocumentStartMonitorDeploymentInput(v *StartMonitor ok.Boolean(*v.DryRun) } - if v.RequestId != nil { - ok := object.Key("requestId") - ok.String(*v.RequestId) - } - return nil } diff --git a/service/medialive/snapshot/api_op_StartMonitorDeployment.go.snap b/service/medialive/snapshot/api_op_StartMonitorDeployment.go.snap index 3849736170e..41533a46103 100644 --- a/service/medialive/snapshot/api_op_StartMonitorDeployment.go.snap +++ b/service/medialive/snapshot/api_op_StartMonitorDeployment.go.snap @@ -2,7 +2,6 @@ StartMonitorDeployment Initialize stack step spanInitializeStart RegisterServiceMetadata - OperationIdempotencyTokenAutoFill legacyEndpointContextSetter SetLogger OperationInputValidation diff --git a/service/medialive/types/enums.go b/service/medialive/types/enums.go index 9ed8cbec177..32fd135fba2 100644 --- a/service/medialive/types/enums.go +++ b/service/medialive/types/enums.go @@ -1065,14 +1065,15 @@ type CloudWatchAlarmTemplateTargetResourceType string // Enum values for CloudWatchAlarmTemplateTargetResourceType const ( - CloudWatchAlarmTemplateTargetResourceTypeCloudfrontDistribution CloudWatchAlarmTemplateTargetResourceType = "CLOUDFRONT_DISTRIBUTION" - CloudWatchAlarmTemplateTargetResourceTypeMedialiveMultiplex CloudWatchAlarmTemplateTargetResourceType = "MEDIALIVE_MULTIPLEX" - CloudWatchAlarmTemplateTargetResourceTypeMedialiveChannel CloudWatchAlarmTemplateTargetResourceType = "MEDIALIVE_CHANNEL" - CloudWatchAlarmTemplateTargetResourceTypeMedialiveInputDevice CloudWatchAlarmTemplateTargetResourceType = "MEDIALIVE_INPUT_DEVICE" - CloudWatchAlarmTemplateTargetResourceTypeMediapackageChannel CloudWatchAlarmTemplateTargetResourceType = "MEDIAPACKAGE_CHANNEL" - CloudWatchAlarmTemplateTargetResourceTypeMediapackageOriginEndpoint CloudWatchAlarmTemplateTargetResourceType = "MEDIAPACKAGE_ORIGIN_ENDPOINT" - CloudWatchAlarmTemplateTargetResourceTypeMediaconnectFlow CloudWatchAlarmTemplateTargetResourceType = "MEDIACONNECT_FLOW" - CloudWatchAlarmTemplateTargetResourceTypeS3Bucket CloudWatchAlarmTemplateTargetResourceType = "S3_BUCKET" + CloudWatchAlarmTemplateTargetResourceTypeCloudfrontDistribution CloudWatchAlarmTemplateTargetResourceType = "CLOUDFRONT_DISTRIBUTION" + CloudWatchAlarmTemplateTargetResourceTypeMedialiveMultiplex CloudWatchAlarmTemplateTargetResourceType = "MEDIALIVE_MULTIPLEX" + CloudWatchAlarmTemplateTargetResourceTypeMedialiveChannel CloudWatchAlarmTemplateTargetResourceType = "MEDIALIVE_CHANNEL" + CloudWatchAlarmTemplateTargetResourceTypeMedialiveInputDevice CloudWatchAlarmTemplateTargetResourceType = "MEDIALIVE_INPUT_DEVICE" + CloudWatchAlarmTemplateTargetResourceTypeMediapackageChannel CloudWatchAlarmTemplateTargetResourceType = "MEDIAPACKAGE_CHANNEL" + CloudWatchAlarmTemplateTargetResourceTypeMediapackageOriginEndpoint CloudWatchAlarmTemplateTargetResourceType = "MEDIAPACKAGE_ORIGIN_ENDPOINT" + CloudWatchAlarmTemplateTargetResourceTypeMediaconnectFlow CloudWatchAlarmTemplateTargetResourceType = "MEDIACONNECT_FLOW" + CloudWatchAlarmTemplateTargetResourceTypeS3Bucket CloudWatchAlarmTemplateTargetResourceType = "S3_BUCKET" + CloudWatchAlarmTemplateTargetResourceTypeMediatailorPlaybackConfiguration CloudWatchAlarmTemplateTargetResourceType = "MEDIATAILOR_PLAYBACK_CONFIGURATION" ) // Values returns all known values for CloudWatchAlarmTemplateTargetResourceType. @@ -1090,6 +1091,7 @@ func (CloudWatchAlarmTemplateTargetResourceType) Values() []CloudWatchAlarmTempl "MEDIAPACKAGE_ORIGIN_ENDPOINT", "MEDIACONNECT_FLOW", "S3_BUCKET", + "MEDIATAILOR_PLAYBACK_CONFIGURATION", } } diff --git a/service/medialive/types/types.go b/service/medialive/types/types.go index 4d3d1cd6db5..a0abeb668c7 100644 --- a/service/medialive/types/types.go +++ b/service/medialive/types/types.go @@ -1689,7 +1689,7 @@ type DescribeChannelPlacementGroupSummary struct { // The name that you specified for the ChannelPlacementGroup. Name *string - // An array with one item, which is the signle Node that is associated with the + // An array with one item, which is the single Node that is associated with the // ChannelPlacementGroup. Nodes []string diff --git a/service/polly/internal/endpoints/endpoints.go b/service/polly/internal/endpoints/endpoints.go index a356b99c0b4..7cb32b3db2a 100644 --- a/service/polly/internal/endpoints/endpoints.go +++ b/service/polly/internal/endpoints/endpoints.go @@ -238,6 +238,15 @@ var defaultPartitions = endpoints.Partitions{ }: { Hostname: "polly.eu-north-1.api.aws", }, + endpoints.EndpointKey{ + Region: "eu-south-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-south-2", + Variant: endpoints.DualStackVariant, + }: { + Hostname: "polly.eu-south-2.api.aws", + }, endpoints.EndpointKey{ Region: "eu-west-1", }: endpoints.Endpoint{}, diff --git a/service/ram/internal/endpoints/endpoints.go b/service/ram/internal/endpoints/endpoints.go index 5d47bc4c094..7da68a560c9 100644 --- a/service/ram/internal/endpoints/endpoints.go +++ b/service/ram/internal/endpoints/endpoints.go @@ -256,6 +256,18 @@ var defaultPartitions = endpoints.Partitions{ Region: "ca-west-1", Variant: endpoints.DualStackVariant, }: {}, + endpoints.EndpointKey{ + Region: "ca-west-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "ram-fips.ca-west-1.amazonaws.com", + }, + endpoints.EndpointKey{ + Region: "ca-west-1", + Variant: endpoints.FIPSVariant | endpoints.DualStackVariant, + }: { + Hostname: "ram-fips.ca-west-1.api.aws", + }, endpoints.EndpointKey{ Region: "eu-central-1", }: endpoints.Endpoint{}, @@ -321,6 +333,15 @@ var defaultPartitions = endpoints.Partitions{ }, Deprecated: aws.TrueTernary, }, + endpoints.EndpointKey{ + Region: "fips-ca-west-1", + }: endpoints.Endpoint{ + Hostname: "ram-fips.ca-west-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "ca-west-1", + }, + Deprecated: aws.TrueTernary, + }, endpoints.EndpointKey{ Region: "fips-us-east-1", }: endpoints.Endpoint{