diff --git a/.changelog/1063b634d79949fa8f2bec55a6062ef5.json b/.changelog/1063b634d79949fa8f2bec55a6062ef5.json new file mode 100644 index 00000000000..f703c9af9d9 --- /dev/null +++ b/.changelog/1063b634d79949fa8f2bec55a6062ef5.json @@ -0,0 +1,8 @@ +{ + "id": "1063b634-d799-49fa-8f2b-ec55a6062ef5", + "type": "feature", + "description": "EC2 M2 Pro Mac instances are powered by Apple M2 Pro Mac Mini computers featuring 12 core CPU, 19 core GPU, 32 GiB of memory, and 16 core Apple Neural Engine and uniquely enabled by the AWS Nitro System through high-speed Thunderbolt connections.", + "modules": [ + "service/ec2" + ] +} \ No newline at end of file diff --git a/.changelog/5114904b500b4367b3a828e5e2d99486.json b/.changelog/5114904b500b4367b3a828e5e2d99486.json new file mode 100644 index 00000000000..6ed0623f373 --- /dev/null +++ b/.changelog/5114904b500b4367b3a828e5e2d99486.json @@ -0,0 +1,8 @@ +{ + "id": "5114904b-500b-4367-b3a8-28e5e2d99486", + "type": "feature", + "description": "This release supports the creation of of audio-only tracks in CMAF output groups.", + "modules": [ + "service/mediaconvert" + ] +} \ No newline at end of file diff --git a/.changelog/8dafa48b155347539d6beddf0e0ae826.json b/.changelog/8dafa48b155347539d6beddf0e0ae826.json new file mode 100644 index 00000000000..8a0f8649f27 --- /dev/null +++ b/.changelog/8dafa48b155347539d6beddf0e0ae826.json @@ -0,0 +1,8 @@ +{ + "id": "8dafa48b-1553-4753-9d6b-eddf0e0ae826", + "type": "feature", + "description": "This release adds support to view the device queue depth (the number of queued quantum tasks and hybrid jobs on a device) and queue position for a quantum task and hybrid job.", + "modules": [ + "service/braket" + ] +} \ No newline at end of file diff --git a/.changelog/a38771f7583840a28cb858f18c4f37d6.json b/.changelog/a38771f7583840a28cb858f18c4f37d6.json new file mode 100644 index 00000000000..6e87538f118 --- /dev/null +++ b/.changelog/a38771f7583840a28cb858f18c4f37d6.json @@ -0,0 +1,8 @@ +{ + "id": "a38771f7-5838-40a2-8cb8-58f18c4f37d6", + "type": "documentation", + "description": "Documentation updates for Elastic File System", + "modules": [ + "service/efs" + ] +} \ No newline at end of file diff --git a/.changelog/b3854d61d2bc4ac29e1f179a9c525fad.json b/.changelog/b3854d61d2bc4ac29e1f179a9c525fad.json new file mode 100644 index 00000000000..9f9160e8a46 --- /dev/null +++ b/.changelog/b3854d61d2bc4ac29e1f179a9c525fad.json @@ -0,0 +1,8 @@ +{ + "id": "b3854d61-d2bc-4ac2-9e1f-179a9c525fad", + "type": "feature", + "description": "Adds sensitive trait to various shapes in Jetstream Connections API model.", + "modules": [ + "service/cloudwatchevents" + ] +} \ No newline at end of file diff --git a/.changelog/ca557e983b8f4a8489fdb3af61d7896a.json b/.changelog/ca557e983b8f4a8489fdb3af61d7896a.json new file mode 100644 index 00000000000..6525fefaff0 --- /dev/null +++ b/.changelog/ca557e983b8f4a8489fdb3af61d7896a.json @@ -0,0 +1,8 @@ +{ + "id": "ca557e98-3b8f-4a84-89fd-b3af61d7896a", + "type": "feature", + "description": "new vendors for DMS CSF: MongoDB, MariaDB, DocumentDb and Redshift", + "modules": [ + "service/databasemigrationservice" + ] +} \ No newline at end of file diff --git a/.changelog/f19f62bb398e463ea3bdbc3f5257ef44.json b/.changelog/f19f62bb398e463ea3bdbc3f5257ef44.json new file mode 100644 index 00000000000..51c4fc0b3ba --- /dev/null +++ b/.changelog/f19f62bb398e463ea3bdbc3f5257ef44.json @@ -0,0 +1,8 @@ +{ + "id": "f19f62bb-398e-463e-a3bd-bc3f5257ef44", + "type": "feature", + "description": "Add `EKS_CLUSTER_NAME` to filter and sort key.", + "modules": [ + "service/guardduty" + ] +} \ No newline at end of file diff --git a/service/braket/api_op_GetDevice.go b/service/braket/api_op_GetDevice.go index cf0b35776f3..610d8fdac95 100644 --- a/service/braket/api_op_GetDevice.go +++ b/service/braket/api_op_GetDevice.go @@ -84,6 +84,9 @@ type GetDeviceOutput struct { // This member is required. ProviderName *string + // List of information about tasks and jobs queued on a device. + DeviceQueueInfo []types.DeviceQueueInfo + // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/braket/api_op_GetJob.go b/service/braket/api_op_GetJob.go index f55e201773b..114c57efdc1 100644 --- a/service/braket/api_op_GetJob.go +++ b/service/braket/api_op_GetJob.go @@ -40,6 +40,9 @@ type GetJobInput struct { // This member is required. JobArn *string + // A list of attributes to return information for. + AdditionalAttributeNames []types.HybridJobAdditionalAttributeName + noSmithyDocumentSerde } @@ -121,6 +124,10 @@ type GetJobOutput struct { // is located. InputDataConfig []types.InputFileConfig + // Queue information for the requested job. Only returned if QueueInfo is + // specified in the additionalAttributeNames" field in the GetJob API request. + QueueInfo *types.HybridJobQueueInfo + // The date and time that the Amazon Braket job was started. StartedAt *time.Time diff --git a/service/braket/api_op_GetQuantumTask.go b/service/braket/api_op_GetQuantumTask.go index 91ab41a72cf..6712990e1df 100644 --- a/service/braket/api_op_GetQuantumTask.go +++ b/service/braket/api_op_GetQuantumTask.go @@ -40,6 +40,9 @@ type GetQuantumTaskInput struct { // This member is required. QuantumTaskArn *string + // A list of attributes to return information for. + AdditionalAttributeNames []types.QuantumTaskAdditionalAttributeName + noSmithyDocumentSerde } @@ -96,6 +99,11 @@ type GetQuantumTaskOutput struct { // The ARN of the Amazon Braket job associated with the quantum task. JobArn *string + // Queue information for the requested quantum task. Only returned if QueueInfo is + // specified in the additionalAttributeNames" field in the GetQuantumTask API + // request. + QueueInfo *types.QuantumTaskQueueInfo + // The tags that belong to this task. Tags map[string]string diff --git a/service/braket/deserializers.go b/service/braket/deserializers.go index 74f2f322242..80e6821d230 100644 --- a/service/braket/deserializers.go +++ b/service/braket/deserializers.go @@ -879,6 +879,11 @@ func awsRestjson1_deserializeOpDocumentGetDeviceOutput(v **GetDeviceOutput, valu sv.DeviceName = ptr.String(jtv) } + case "deviceQueueInfo": + if err := awsRestjson1_deserializeDocumentDeviceQueueInfoList(&sv.DeviceQueueInfo, value); err != nil { + return err + } + case "deviceStatus": if value != nil { jtv, ok := value.(string) @@ -1166,6 +1171,11 @@ func awsRestjson1_deserializeOpDocumentGetJobOutput(v **GetJobOutput, value inte return err } + case "queueInfo": + if err := awsRestjson1_deserializeDocumentHybridJobQueueInfo(&sv.QueueInfo, value); err != nil { + return err + } + case "roleArn": if value != nil { jtv, ok := value.(string) @@ -1450,6 +1460,11 @@ func awsRestjson1_deserializeOpDocumentGetQuantumTaskOutput(v **GetQuantumTaskOu sv.QuantumTaskArn = ptr.String(jtv) } + case "queueInfo": + if err := awsRestjson1_deserializeDocumentQuantumTaskQueueInfo(&sv.QueueInfo, value); err != nil { + return err + } + case "shots": if value != nil { jtv, ok := value.(json.Number) @@ -2913,6 +2928,98 @@ func awsRestjson1_deserializeDocumentDeviceOfflineException(v **types.DeviceOffl return nil } +func awsRestjson1_deserializeDocumentDeviceQueueInfo(v **types.DeviceQueueInfo, 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.DeviceQueueInfo + if *v == nil { + sv = &types.DeviceQueueInfo{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "queue": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected QueueName to be of type string, got %T instead", value) + } + sv.Queue = types.QueueName(jtv) + } + + case "queuePriority": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected QueuePriority to be of type string, got %T instead", value) + } + sv.QueuePriority = types.QueuePriority(jtv) + } + + case "queueSize": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.QueueSize = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentDeviceQueueInfoList(v *[]types.DeviceQueueInfo, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.DeviceQueueInfo + if *v == nil { + cv = []types.DeviceQueueInfo{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.DeviceQueueInfo + destAddr := &col + if err := awsRestjson1_deserializeDocumentDeviceQueueInfo(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsRestjson1_deserializeDocumentDeviceRetiredException(v **types.DeviceRetiredException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -3063,6 +3170,64 @@ func awsRestjson1_deserializeDocumentDeviceSummaryList(v *[]types.DeviceSummary, return nil } +func awsRestjson1_deserializeDocumentHybridJobQueueInfo(v **types.HybridJobQueueInfo, 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.HybridJobQueueInfo + if *v == nil { + sv = &types.HybridJobQueueInfo{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + case "position": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Position = ptr.String(jtv) + } + + case "queue": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected QueueName to be of type string, got %T instead", value) + } + sv.Queue = types.QueueName(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentHyperParameters(v *map[string]string, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -3676,6 +3841,73 @@ func awsRestjson1_deserializeDocumentJobSummaryList(v *[]types.JobSummary, value return nil } +func awsRestjson1_deserializeDocumentQuantumTaskQueueInfo(v **types.QuantumTaskQueueInfo, 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.QuantumTaskQueueInfo + if *v == nil { + sv = &types.QuantumTaskQueueInfo{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + case "position": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Position = ptr.String(jtv) + } + + case "queue": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected QueueName to be of type string, got %T instead", value) + } + sv.Queue = types.QueueName(jtv) + } + + case "queuePriority": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected QueuePriority to be of type string, got %T instead", value) + } + sv.QueuePriority = types.QueuePriority(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentQuantumTaskSummary(v **types.QuantumTaskSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/braket/serializers.go b/service/braket/serializers.go index f7db5ab50ca..e638bf48c9c 100644 --- a/service/braket/serializers.go +++ b/service/braket/serializers.go @@ -550,6 +550,12 @@ func awsRestjson1_serializeOpHttpBindingsGetJobInput(v *GetJobInput, encoder *ht return fmt.Errorf("unsupported serialization of nil %T", v) } + if v.AdditionalAttributeNames != nil { + for i := range v.AdditionalAttributeNames { + encoder.AddQuery("additionalAttributeNames").String(string(v.AdditionalAttributeNames[i])) + } + } + if v.JobArn == nil || len(*v.JobArn) == 0 { return &smithy.SerializationError{Err: fmt.Errorf("input member jobArn must not be empty")} } @@ -615,6 +621,12 @@ func awsRestjson1_serializeOpHttpBindingsGetQuantumTaskInput(v *GetQuantumTaskIn return fmt.Errorf("unsupported serialization of nil %T", v) } + if v.AdditionalAttributeNames != nil { + for i := range v.AdditionalAttributeNames { + encoder.AddQuery("additionalAttributeNames").String(string(v.AdditionalAttributeNames[i])) + } + } + if v.QuantumTaskArn == nil || len(*v.QuantumTaskArn) == 0 { return &smithy.SerializationError{Err: fmt.Errorf("input member quantumTaskArn must not be empty")} } diff --git a/service/braket/types/enums.go b/service/braket/types/enums.go index d7034aece0e..122191340b6 100644 --- a/service/braket/types/enums.go +++ b/service/braket/types/enums.go @@ -76,6 +76,23 @@ func (DeviceType) Values() []DeviceType { } } +type HybridJobAdditionalAttributeName string + +// Enum values for HybridJobAdditionalAttributeName +const ( + HybridJobAdditionalAttributeNameQueueInfo HybridJobAdditionalAttributeName = "QueueInfo" +) + +// Values returns all known values for HybridJobAdditionalAttributeName. 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 (HybridJobAdditionalAttributeName) Values() []HybridJobAdditionalAttributeName { + return []HybridJobAdditionalAttributeName{ + "QueueInfo", + } +} + type InstanceType string // Enum values for InstanceType @@ -230,6 +247,23 @@ func (JobPrimaryStatus) Values() []JobPrimaryStatus { } } +type QuantumTaskAdditionalAttributeName string + +// Enum values for QuantumTaskAdditionalAttributeName +const ( + QuantumTaskAdditionalAttributeNameQueueInfo QuantumTaskAdditionalAttributeName = "QueueInfo" +) + +// Values returns all known values for QuantumTaskAdditionalAttributeName. 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 (QuantumTaskAdditionalAttributeName) Values() []QuantumTaskAdditionalAttributeName { + return []QuantumTaskAdditionalAttributeName{ + "QueueInfo", + } +} + type QuantumTaskStatus string // Enum values for QuantumTaskStatus @@ -258,6 +292,42 @@ func (QuantumTaskStatus) Values() []QuantumTaskStatus { } } +type QueueName string + +// Enum values for QueueName +const ( + QueueNameQuantumTasksQueue QueueName = "QUANTUM_TASKS_QUEUE" + QueueNameJobsQueue QueueName = "JOBS_QUEUE" +) + +// Values returns all known values for QueueName. 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 (QueueName) Values() []QueueName { + return []QueueName{ + "QUANTUM_TASKS_QUEUE", + "JOBS_QUEUE", + } +} + +type QueuePriority string + +// Enum values for QueuePriority +const ( + QueuePriorityNormal QueuePriority = "Normal" + QueuePriorityPriority QueuePriority = "Priority" +) + +// Values returns all known values for QueuePriority. 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 (QueuePriority) Values() []QueuePriority { + return []QueuePriority{ + "Normal", + "Priority", + } +} + type SearchJobsFilterOperator string // Enum values for SearchJobsFilterOperator diff --git a/service/braket/types/types.go b/service/braket/types/types.go index 0731bd2764e..14b879a4c89 100644 --- a/service/braket/types/types.go +++ b/service/braket/types/types.go @@ -55,6 +55,26 @@ type DeviceConfig struct { noSmithyDocumentSerde } +// Information about tasks and jobs queued on a device. +type DeviceQueueInfo struct { + + // The name of the queue. + // + // This member is required. + Queue QueueName + + // The number of jobs or tasks in the queue for a given device. + // + // This member is required. + QueueSize *string + + // Optional. Specifies the priority of the queue. Tasks in a priority queue are + // processed before the tasks in a normal queue. + QueuePriority QueuePriority + + noSmithyDocumentSerde +} + // Includes information about the device. type DeviceSummary struct { @@ -86,6 +106,27 @@ type DeviceSummary struct { noSmithyDocumentSerde } +// Information about the queue for a specified job. +type HybridJobQueueInfo struct { + + // Current position of the job in the jobs queue. + // + // This member is required. + Position *string + + // The name of the queue. + // + // This member is required. + Queue QueueName + + // Optional. Provides more information about the queue position. For example, if + // the job is complete and no longer in the queue, the message field contains that + // information. + Message *string + + noSmithyDocumentSerde +} + // A list of parameters that specify the input channels, type of input data, and // where it is located. type InputFileConfig struct { @@ -228,6 +269,31 @@ type JobSummary struct { noSmithyDocumentSerde } +// Information about the queue for the specified quantum task. +type QuantumTaskQueueInfo struct { + + // Current position of the task in the quantum tasks queue. + // + // This member is required. + Position *string + + // The name of the queue. + // + // This member is required. + Queue QueueName + + // Optional. Provides more information about the queue position. For example, if + // the task is complete and no longer in the queue, the message field contains that + // information. + Message *string + + // Optional. Specifies the priority of the queue. Quantum tasks in a priority + // queue are processed before the tasks in a normal queue. + QueuePriority QueuePriority + + noSmithyDocumentSerde +} + // Includes information about a quantum task. type QuantumTaskSummary struct { diff --git a/service/cloudwatchevents/deserializers.go b/service/cloudwatchevents/deserializers.go index c6d24e568f4..2d3c8d21a4e 100644 --- a/service/cloudwatchevents/deserializers.go +++ b/service/cloudwatchevents/deserializers.go @@ -7160,7 +7160,7 @@ func awsAwsjson11_deserializeDocumentConnectionBodyParameter(v **types.Connectio if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected String to be of type string, got %T instead", value) + return fmt.Errorf("expected SensitiveString to be of type string, got %T instead", value) } sv.Value = ptr.String(jtv) } @@ -7252,7 +7252,7 @@ func awsAwsjson11_deserializeDocumentConnectionHeaderParameter(v **types.Connect if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected HeaderValue to be of type string, got %T instead", value) + return fmt.Errorf("expected HeaderValueSensitive to be of type string, got %T instead", value) } sv.Value = ptr.String(jtv) } @@ -7489,7 +7489,7 @@ func awsAwsjson11_deserializeDocumentConnectionQueryStringParameter(v **types.Co if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected QueryStringValue to be of type string, got %T instead", value) + return fmt.Errorf("expected QueryStringValueSensitive to be of type string, got %T instead", value) } sv.Value = ptr.String(jtv) } diff --git a/service/databasemigrationservice/api_op_CreateReplicationInstance.go b/service/databasemigrationservice/api_op_CreateReplicationInstance.go index f7b077a4838..2f36e089362 100644 --- a/service/databasemigrationservice/api_op_CreateReplicationInstance.go +++ b/service/databasemigrationservice/api_op_CreateReplicationInstance.go @@ -22,6 +22,9 @@ import ( // Creating the IAM Roles to Use With the CLI and DMS API (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.APIRole) // . For information on the required permissions, see IAM Permissions Needed to // Use DMS (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.IAMPermissions) +// . If you don't specify a version when creating a replication instance, DMS will +// create the instance using the default engine version. For information about the +// default engine version, see Release Notes (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReleaseNotes.html) // . func (c *Client) CreateReplicationInstance(ctx context.Context, params *CreateReplicationInstanceInput, optFns ...func(*Options)) (*CreateReplicationInstanceOutput, error) { if params == nil { @@ -67,12 +70,7 @@ type CreateReplicationInstanceInput struct { // A value that indicates whether minor engine upgrades are applied automatically // to the replication instance during the maintenance window. This parameter - // defaults to true . Default: true When AutoMinorVersionUpgrade is enabled, DMS - // uses the current default engine version when you create a replication instance. - // For example, if you set EngineVersion to a lower version number than the - // current default version, DMS uses the default version. If - // AutoMinorVersionUpgrade isn’t enabled when you create a replication instance, - // DMS uses the engine version specified by the EngineVersion parameter. + // defaults to true . Default: true AutoMinorVersionUpgrade *bool // The Availability Zone where the replication instance will be created. The diff --git a/service/databasemigrationservice/api_op_CreateReplicationTask.go b/service/databasemigrationservice/api_op_CreateReplicationTask.go index c973ee0e592..235e11a9c18 100644 --- a/service/databasemigrationservice/api_op_CreateReplicationTask.go +++ b/service/databasemigrationservice/api_op_CreateReplicationTask.go @@ -94,7 +94,7 @@ type CreateReplicationTaskInput struct { // Indicates when you want a change data capture (CDC) operation to stop. The // value can be either server time or commit time. Server time example: // --cdc-stop-position “server_time:2018-02-09T12:12:12” Commit time example: - // --cdc-stop-position “commit_time: 2018-02-09T12:12:12“ + // --cdc-stop-position “commit_time:2018-02-09T12:12:12“ CdcStopPosition *string // Overall settings for the task, in JSON format. For more information, see diff --git a/service/databasemigrationservice/api_op_ModifyReplicationInstance.go b/service/databasemigrationservice/api_op_ModifyReplicationInstance.go index bbee4ed9c5a..0cce7789155 100644 --- a/service/databasemigrationservice/api_op_ModifyReplicationInstance.go +++ b/service/databasemigrationservice/api_op_ModifyReplicationInstance.go @@ -64,12 +64,6 @@ type ModifyReplicationInstanceInput struct { // - This parameter is set to true during the maintenance window. // - A newer minor version is available. // - DMS has enabled automatic patching for the given engine version. - // When AutoMinorVersionUpgrade is enabled, DMS uses the current default engine - // version when you modify a replication instance. For example, if you set - // EngineVersion to a lower version number than the current default version, DMS - // uses the default version. If AutoMinorVersionUpgrade isn’t enabled when you - // modify a replication instance, DMS uses the engine version specified by the - // EngineVersion parameter. AutoMinorVersionUpgrade *bool // The engine version number of the replication instance. When modifying a major diff --git a/service/databasemigrationservice/api_op_ModifyReplicationTask.go b/service/databasemigrationservice/api_op_ModifyReplicationTask.go index e66f01717c8..feaca30bab1 100644 --- a/service/databasemigrationservice/api_op_ModifyReplicationTask.go +++ b/service/databasemigrationservice/api_op_ModifyReplicationTask.go @@ -67,7 +67,7 @@ type ModifyReplicationTaskInput struct { // Indicates when you want a change data capture (CDC) operation to stop. The // value can be either server time or commit time. Server time example: // --cdc-stop-position “server_time:2018-02-09T12:12:12” Commit time example: - // --cdc-stop-position “commit_time: 2018-02-09T12:12:12“ + // --cdc-stop-position “commit_time:2018-02-09T12:12:12“ CdcStopPosition *string // The migration type. Valid values: full-load | cdc | full-load-and-cdc diff --git a/service/databasemigrationservice/api_op_StartReplicationTask.go b/service/databasemigrationservice/api_op_StartReplicationTask.go index 1a1e9abbd3f..d37aeae2e4c 100644 --- a/service/databasemigrationservice/api_op_StartReplicationTask.go +++ b/service/databasemigrationservice/api_op_StartReplicationTask.go @@ -80,7 +80,7 @@ type StartReplicationTaskInput struct { // Indicates when you want a change data capture (CDC) operation to stop. The // value can be either server time or commit time. Server time example: // --cdc-stop-position “server_time:2018-02-09T12:12:12” Commit time example: - // --cdc-stop-position “commit_time: 2018-02-09T12:12:12“ + // --cdc-stop-position “commit_time:2018-02-09T12:12:12“ CdcStopPosition *string noSmithyDocumentSerde diff --git a/service/databasemigrationservice/api_op_UpdateSubscriptionsToEventBridge.go b/service/databasemigrationservice/api_op_UpdateSubscriptionsToEventBridge.go index dd004c9592e..ac34c8b177d 100644 --- a/service/databasemigrationservice/api_op_UpdateSubscriptionsToEventBridge.go +++ b/service/databasemigrationservice/api_op_UpdateSubscriptionsToEventBridge.go @@ -18,11 +18,11 @@ import ( // Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts // them to corresponding Amazon EventBridge rules. By default, this operation // migrates subscriptions only when all your replication instance versions are -// 3.4.6 or higher. If any replication instances are from versions earlier than -// 3.4.6, the operation raises an error and tells you to upgrade these instances to -// version 3.4.6 or higher. To enable migration regardless of version, set the +// 3.4.5 or higher. If any replication instances are from versions earlier than +// 3.4.5, the operation raises an error and tells you to upgrade these instances to +// version 3.4.5 or higher. To enable migration regardless of version, set the // Force option to true. However, if you don't upgrade instances earlier than -// version 3.4.6, some types of events might not be available when you use Amazon +// version 3.4.5, some types of events might not be available when you use Amazon // EventBridge. To call this operation, make sure that you have certain permissions // added to your user account. For more information, see Migrating event // subscriptions to Amazon EventBridge (https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html#CHAP_Events-migrate-to-eventbridge) @@ -47,7 +47,7 @@ type UpdateSubscriptionsToEventBridgeInput struct { // When set to true, this operation migrates DMS subscriptions for Amazon SNS // notifications no matter what your replication instance version is. If not set or // set to false, this operation runs only when all your replication instances are - // from DMS version 3.4.6 or higher. + // from DMS version 3.4.5 or higher. ForceMove *bool noSmithyDocumentSerde diff --git a/service/databasemigrationservice/deserializers.go b/service/databasemigrationservice/deserializers.go index 22eff5f5f6f..fd999a5aa15 100644 --- a/service/databasemigrationservice/deserializers.go +++ b/service/databasemigrationservice/deserializers.go @@ -14904,6 +14904,26 @@ loop: continue } switch key { + case "DocDbSettings": + var mv types.DocDbDataProviderSettings + destAddr := &mv + if err := awsAwsjson11_deserializeDocumentDocDbDataProviderSettings(&destAddr, value); err != nil { + return err + } + mv = *destAddr + uv = &types.DataProviderSettingsMemberDocDbSettings{Value: mv} + break loop + + case "MariaDbSettings": + var mv types.MariaDbDataProviderSettings + destAddr := &mv + if err := awsAwsjson11_deserializeDocumentMariaDbDataProviderSettings(&destAddr, value); err != nil { + return err + } + mv = *destAddr + uv = &types.DataProviderSettingsMemberMariaDbSettings{Value: mv} + break loop + case "MicrosoftSqlServerSettings": var mv types.MicrosoftSqlServerDataProviderSettings destAddr := &mv @@ -14914,6 +14934,16 @@ loop: uv = &types.DataProviderSettingsMemberMicrosoftSqlServerSettings{Value: mv} break loop + case "MongoDbSettings": + var mv types.MongoDbDataProviderSettings + destAddr := &mv + if err := awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(&destAddr, value); err != nil { + return err + } + mv = *destAddr + uv = &types.DataProviderSettingsMemberMongoDbSettings{Value: mv} + break loop + case "MySqlSettings": var mv types.MySqlDataProviderSettings destAddr := &mv @@ -14944,6 +14974,16 @@ loop: uv = &types.DataProviderSettingsMemberPostgreSqlSettings{Value: mv} break loop + case "RedshiftSettings": + var mv types.RedshiftDataProviderSettings + destAddr := &mv + if err := awsAwsjson11_deserializeDocumentRedshiftDataProviderSettings(&destAddr, value); err != nil { + return err + } + mv = *destAddr + uv = &types.DataProviderSettingsMemberRedshiftSettings{Value: mv} + break loop + default: uv = &types.UnknownUnionMember{Tag: key} break loop @@ -15043,6 +15083,86 @@ func awsAwsjson11_deserializeDocumentDmsTransferSettings(v **types.DmsTransferSe return nil } +func awsAwsjson11_deserializeDocumentDocDbDataProviderSettings(v **types.DocDbDataProviderSettings, 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.DocDbDataProviderSettings + if *v == nil { + sv = &types.DocDbDataProviderSettings{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "CertificateArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.CertificateArn = ptr.String(jtv) + } + + case "DatabaseName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.DatabaseName = ptr.String(jtv) + } + + case "Port": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected IntegerOptional to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Port = ptr.Int32(int32(i64)) + } + + case "ServerName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.ServerName = ptr.String(jtv) + } + + case "SslMode": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected DmsSslModeValue to be of type string, got %T instead", value) + } + sv.SslMode = types.DmsSslModeValue(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentDocDbSettings(v **types.DocDbSettings, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -18255,6 +18375,77 @@ func awsAwsjson11_deserializeDocumentLimitationList(v *[]types.Limitation, value return nil } +func awsAwsjson11_deserializeDocumentMariaDbDataProviderSettings(v **types.MariaDbDataProviderSettings, 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.MariaDbDataProviderSettings + if *v == nil { + sv = &types.MariaDbDataProviderSettings{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "CertificateArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.CertificateArn = ptr.String(jtv) + } + + case "Port": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected IntegerOptional to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Port = ptr.Int32(int32(i64)) + } + + case "ServerName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.ServerName = ptr.String(jtv) + } + + case "SslMode": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected DmsSslModeValue to be of type string, got %T instead", value) + } + sv.SslMode = types.DmsSslModeValue(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentMicrosoftSqlServerDataProviderSettings(v **types.MicrosoftSqlServerDataProviderSettings, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -18674,6 +18865,113 @@ func awsAwsjson11_deserializeDocumentMigrationProjectList(v *[]types.MigrationPr return nil } +func awsAwsjson11_deserializeDocumentMongoDbDataProviderSettings(v **types.MongoDbDataProviderSettings, 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.MongoDbDataProviderSettings + if *v == nil { + sv = &types.MongoDbDataProviderSettings{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "AuthMechanism": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AuthMechanismValue to be of type string, got %T instead", value) + } + sv.AuthMechanism = types.AuthMechanismValue(jtv) + } + + case "AuthSource": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.AuthSource = ptr.String(jtv) + } + + case "AuthType": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AuthTypeValue to be of type string, got %T instead", value) + } + sv.AuthType = types.AuthTypeValue(jtv) + } + + case "CertificateArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.CertificateArn = ptr.String(jtv) + } + + case "DatabaseName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.DatabaseName = ptr.String(jtv) + } + + case "Port": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected IntegerOptional to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Port = ptr.Int32(int32(i64)) + } + + case "ServerName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.ServerName = ptr.String(jtv) + } + + case "SslMode": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected DmsSslModeValue to be of type string, got %T instead", value) + } + sv.SslMode = types.DmsSslModeValue(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentMongoDbSettings(v **types.MongoDbSettings, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -21222,6 +21520,68 @@ func awsAwsjson11_deserializeDocumentRedisSettings(v **types.RedisSettings, valu return nil } +func awsAwsjson11_deserializeDocumentRedshiftDataProviderSettings(v **types.RedshiftDataProviderSettings, 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.RedshiftDataProviderSettings + if *v == nil { + sv = &types.RedshiftDataProviderSettings{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "DatabaseName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.DatabaseName = ptr.String(jtv) + } + + case "Port": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected IntegerOptional to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.Port = ptr.Int32(int32(i64)) + } + + case "ServerName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.ServerName = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsAwsjson11_deserializeDocumentRedshiftSettings(v **types.RedshiftSettings, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/databasemigrationservice/serializers.go b/service/databasemigrationservice/serializers.go index 217e0d4e5aa..ef01abfbe09 100644 --- a/service/databasemigrationservice/serializers.go +++ b/service/databasemigrationservice/serializers.go @@ -5957,12 +5957,30 @@ func awsAwsjson11_serializeDocumentDataProviderSettings(v types.DataProviderSett defer object.Close() switch uv := v.(type) { + case *types.DataProviderSettingsMemberDocDbSettings: + av := object.Key("DocDbSettings") + if err := awsAwsjson11_serializeDocumentDocDbDataProviderSettings(&uv.Value, av); err != nil { + return err + } + + case *types.DataProviderSettingsMemberMariaDbSettings: + av := object.Key("MariaDbSettings") + if err := awsAwsjson11_serializeDocumentMariaDbDataProviderSettings(&uv.Value, av); err != nil { + return err + } + case *types.DataProviderSettingsMemberMicrosoftSqlServerSettings: av := object.Key("MicrosoftSqlServerSettings") if err := awsAwsjson11_serializeDocumentMicrosoftSqlServerDataProviderSettings(&uv.Value, av); err != nil { return err } + case *types.DataProviderSettingsMemberMongoDbSettings: + av := object.Key("MongoDbSettings") + if err := awsAwsjson11_serializeDocumentMongoDbDataProviderSettings(&uv.Value, av); err != nil { + return err + } + case *types.DataProviderSettingsMemberMySqlSettings: av := object.Key("MySqlSettings") if err := awsAwsjson11_serializeDocumentMySqlDataProviderSettings(&uv.Value, av); err != nil { @@ -5981,6 +5999,12 @@ func awsAwsjson11_serializeDocumentDataProviderSettings(v types.DataProviderSett return err } + case *types.DataProviderSettingsMemberRedshiftSettings: + av := object.Key("RedshiftSettings") + if err := awsAwsjson11_serializeDocumentRedshiftDataProviderSettings(&uv.Value, av); err != nil { + return err + } + default: return fmt.Errorf("attempted to serialize unknown member type %T for union %T", uv, v) @@ -6005,6 +6029,38 @@ func awsAwsjson11_serializeDocumentDmsTransferSettings(v *types.DmsTransferSetti return nil } +func awsAwsjson11_serializeDocumentDocDbDataProviderSettings(v *types.DocDbDataProviderSettings, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.CertificateArn != nil { + ok := object.Key("CertificateArn") + ok.String(*v.CertificateArn) + } + + if v.DatabaseName != nil { + ok := object.Key("DatabaseName") + ok.String(*v.DatabaseName) + } + + if v.Port != nil { + ok := object.Key("Port") + ok.Integer(*v.Port) + } + + if v.ServerName != nil { + ok := object.Key("ServerName") + ok.String(*v.ServerName) + } + + if len(v.SslMode) > 0 { + ok := object.Key("SslMode") + ok.String(string(v.SslMode)) + } + + return nil +} + func awsAwsjson11_serializeDocumentDocDbSettings(v *types.DocDbSettings, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -6517,6 +6573,33 @@ func awsAwsjson11_serializeDocumentKinesisSettings(v *types.KinesisSettings, val return nil } +func awsAwsjson11_serializeDocumentMariaDbDataProviderSettings(v *types.MariaDbDataProviderSettings, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.CertificateArn != nil { + ok := object.Key("CertificateArn") + ok.String(*v.CertificateArn) + } + + if v.Port != nil { + ok := object.Key("Port") + ok.Integer(*v.Port) + } + + if v.ServerName != nil { + ok := object.Key("ServerName") + ok.String(*v.ServerName) + } + + if len(v.SslMode) > 0 { + ok := object.Key("SslMode") + ok.String(string(v.SslMode)) + } + + return nil +} + func awsAwsjson11_serializeDocumentMicrosoftSqlServerDataProviderSettings(v *types.MicrosoftSqlServerDataProviderSettings, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -6641,6 +6724,53 @@ func awsAwsjson11_serializeDocumentMicrosoftSQLServerSettings(v *types.Microsoft return nil } +func awsAwsjson11_serializeDocumentMongoDbDataProviderSettings(v *types.MongoDbDataProviderSettings, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if len(v.AuthMechanism) > 0 { + ok := object.Key("AuthMechanism") + ok.String(string(v.AuthMechanism)) + } + + if v.AuthSource != nil { + ok := object.Key("AuthSource") + ok.String(*v.AuthSource) + } + + if len(v.AuthType) > 0 { + ok := object.Key("AuthType") + ok.String(string(v.AuthType)) + } + + if v.CertificateArn != nil { + ok := object.Key("CertificateArn") + ok.String(*v.CertificateArn) + } + + if v.DatabaseName != nil { + ok := object.Key("DatabaseName") + ok.String(*v.DatabaseName) + } + + if v.Port != nil { + ok := object.Key("Port") + ok.Integer(*v.Port) + } + + if v.ServerName != nil { + ok := object.Key("ServerName") + ok.String(*v.ServerName) + } + + if len(v.SslMode) > 0 { + ok := object.Key("SslMode") + ok.String(string(v.SslMode)) + } + + return nil +} + func awsAwsjson11_serializeDocumentMongoDbSettings(v *types.MongoDbSettings, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -7373,6 +7503,28 @@ func awsAwsjson11_serializeDocumentRedisSettings(v *types.RedisSettings, value s return nil } +func awsAwsjson11_serializeDocumentRedshiftDataProviderSettings(v *types.RedshiftDataProviderSettings, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.DatabaseName != nil { + ok := object.Key("DatabaseName") + ok.String(*v.DatabaseName) + } + + if v.Port != nil { + ok := object.Key("Port") + ok.Integer(*v.Port) + } + + if v.ServerName != nil { + ok := object.Key("ServerName") + ok.String(*v.ServerName) + } + + return nil +} + func awsAwsjson11_serializeDocumentRedshiftSettings(v *types.RedshiftSettings, value smithyjson.Value) error { object := value.Object() defer object.Close() diff --git a/service/databasemigrationservice/types/types.go b/service/databasemigrationservice/types/types.go index 6cc48029806..108cd168dd2 100644 --- a/service/databasemigrationservice/types/types.go +++ b/service/databasemigrationservice/types/types.go @@ -201,22 +201,22 @@ type ComputeConfig struct { // Specifies the maximum value of the DMS capacity units (DCUs) for which a given // DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with - // 2 DCUs as the minimum value allowed. The list of valid DCU values includes 2, 4, - // 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can + // 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, + // 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the maximum value that you can // specify for DMS Serverless is 384. The MaxCapacityUnits parameter is the only // DCU parameter you are required to specify. MaxCapacityUnits *int32 // Specifies the minimum value of the DMS capacity units (DCUs) for which a given // DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with - // 2 DCUs as the minimum value allowed. The list of valid DCU values includes 2, 4, - // 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you can - // specify for DMS Serverless is 2. You don't have to specify a value for the + // 1 DCU as the minimum value allowed. The list of valid DCU values includes 1, 2, + // 4, 8, 16, 32, 64, 128, 192, 256, and 384. So, the minimum DCU value that you can + // specify for DMS Serverless is 1. You don't have to specify a value for the // MinCapacityUnits parameter. If you don't set this value, DMS scans the current // activity of available source tables to identify an optimum setting for this // parameter. If there is no current source activity or DMS can't otherwise // identify a more appropriate value, it sets this parameter to the minimum DCU - // value allowed, 2. + // value allowed, 1. MinCapacityUnits *int32 // Specifies whether the DMS Serverless replication is a Multi-AZ deployment. You @@ -426,14 +426,36 @@ type DataProviderDescriptorDefinition struct { // // The following types satisfy this interface: // +// DataProviderSettingsMemberDocDbSettings +// DataProviderSettingsMemberMariaDbSettings // DataProviderSettingsMemberMicrosoftSqlServerSettings +// DataProviderSettingsMemberMongoDbSettings // DataProviderSettingsMemberMySqlSettings // DataProviderSettingsMemberOracleSettings // DataProviderSettingsMemberPostgreSqlSettings +// DataProviderSettingsMemberRedshiftSettings type DataProviderSettings interface { isDataProviderSettings() } +// Provides information that defines a DocumentDB data provider. +type DataProviderSettingsMemberDocDbSettings struct { + Value DocDbDataProviderSettings + + noSmithyDocumentSerde +} + +func (*DataProviderSettingsMemberDocDbSettings) isDataProviderSettings() {} + +// Provides information that defines a MariaDB data provider. +type DataProviderSettingsMemberMariaDbSettings struct { + Value MariaDbDataProviderSettings + + noSmithyDocumentSerde +} + +func (*DataProviderSettingsMemberMariaDbSettings) isDataProviderSettings() {} + // Provides information that defines a Microsoft SQL Server data provider. type DataProviderSettingsMemberMicrosoftSqlServerSettings struct { Value MicrosoftSqlServerDataProviderSettings @@ -443,6 +465,15 @@ type DataProviderSettingsMemberMicrosoftSqlServerSettings struct { func (*DataProviderSettingsMemberMicrosoftSqlServerSettings) isDataProviderSettings() {} +// Provides information that defines a MongoDB data provider. +type DataProviderSettingsMemberMongoDbSettings struct { + Value MongoDbDataProviderSettings + + noSmithyDocumentSerde +} + +func (*DataProviderSettingsMemberMongoDbSettings) isDataProviderSettings() {} + // Provides information that defines a MySQL data provider. type DataProviderSettingsMemberMySqlSettings struct { Value MySqlDataProviderSettings @@ -470,6 +501,15 @@ type DataProviderSettingsMemberPostgreSqlSettings struct { func (*DataProviderSettingsMemberPostgreSqlSettings) isDataProviderSettings() {} +// Provides information that defines an Amazon Redshift data provider. +type DataProviderSettingsMemberRedshiftSettings struct { + Value RedshiftDataProviderSettings + + noSmithyDocumentSerde +} + +func (*DataProviderSettingsMemberRedshiftSettings) isDataProviderSettings() {} + // Provides error information about a schema conversion operation. type DefaultErrorDetails struct { @@ -492,6 +532,28 @@ type DmsTransferSettings struct { noSmithyDocumentSerde } +// Provides information that defines a DocumentDB data provider. +type DocDbDataProviderSettings struct { + + // The Amazon Resource Name (ARN) of the certificate used for SSL connection. + CertificateArn *string + + // The database name on the DocumentDB data provider. + DatabaseName *string + + // The port value for the DocumentDB data provider. + Port *int32 + + // The name of the source DocumentDB server. + ServerName *string + + // The SSL mode used to connect to the DocumentDB data provider. The default value + // is none . + SslMode DmsSslModeValue + + noSmithyDocumentSerde +} + // Provides information that defines a DocumentDB endpoint. type DocDbSettings struct { @@ -1408,6 +1470,25 @@ type Limitation struct { noSmithyDocumentSerde } +// Provides information that defines a MariaDB data provider. +type MariaDbDataProviderSettings struct { + + // The Amazon Resource Name (ARN) of the certificate used for SSL connection. + CertificateArn *string + + // The port value for the MariaDB data provider + Port *int32 + + // The name of the MariaDB server. + ServerName *string + + // The SSL mode used to connect to the MariaDB data provider. The default value is + // none . + SslMode DmsSslModeValue + + noSmithyDocumentSerde +} + // Provides information that defines a Microsoft SQL Server data provider. type MicrosoftSqlServerDataProviderSettings struct { @@ -1508,8 +1589,9 @@ type MicrosoftSQLServerSettings struct { // Indicates the mode used to fetch CDC data. TlogAccessMode TlogAccessMode - // Use the TrimSpaceInChar source endpoint setting to trim data on CHAR and NCHAR - // data types during migration. The default value is true . + // Use the TrimSpaceInChar source endpoint setting to right-trim data on CHAR and + // NCHAR data types during migration. Setting TrimSpaceInChar does not left-trim + // data. The default value is true . TrimSpaceInChar *bool // Use this to attribute to transfer data for full-load operations using BCP. When @@ -1570,6 +1652,40 @@ type MigrationProject struct { noSmithyDocumentSerde } +// Provides information that defines a MongoDB data provider. +type MongoDbDataProviderSettings struct { + + // The authentication method for connecting to the data provider. Valid values are + // DEFAULT, MONGODB_CR, or SCRAM_SHA_1. + AuthMechanism AuthMechanismValue + + // The MongoDB database name. This setting isn't used when AuthType is set to "no" + // . The default is "admin" . + AuthSource *string + + // The authentication type for the database connection. Valid values are PASSWORD + // or NO. + AuthType AuthTypeValue + + // The Amazon Resource Name (ARN) of the certificate used for SSL connection. + CertificateArn *string + + // The database name on the MongoDB data provider. + DatabaseName *string + + // The port value for the MongoDB data provider. + Port *int32 + + // The name of the MongoDB server. + ServerName *string + + // The SSL mode used to connect to the MongoDB data provider. The default value is + // none . + SslMode DmsSslModeValue + + noSmithyDocumentSerde +} + // Provides information that defines a MongoDB endpoint. type MongoDbSettings struct { @@ -1642,7 +1758,8 @@ type MongoDbSettings struct { // contains the MongoDB endpoint connection details. SecretsManagerSecretId *string - // The name of the server on the MongoDB source endpoint. + // The name of the server on the MongoDB source endpoint. For MongoDB Atlas, + // provide the server name for any of the servers in the replication set. ServerName *string // If true , DMS retrieves the entire document from the MongoDB source during @@ -2043,7 +2160,7 @@ type OracleSettings struct { // Oracle ASM of the endpoint. You can specify one of two sets of values for these // permissions. You can specify the values for this setting and // SecretsManagerOracleAsmSecretId . Or you can specify clear-text values for - // AsmUserName , AsmPassword , and AsmServerName . You can't specify both. For more + // AsmUser , AsmPassword , and AsmServerName . You can't specify both. For more // information on creating this SecretsManagerOracleAsmSecret and the // SecretsManagerOracleAsmAccessRoleArn and SecretsManagerOracleAsmSecretId // required to access it, see Using secrets to access Database Migration Service @@ -2299,7 +2416,8 @@ type PostgreSQLSettings struct { HeartbeatSchema *string // When true, lets PostgreSQL migrate the boolean type as boolean. By default, - // PostgreSQL migrates booleans as varchar(5) . + // PostgreSQL migrates booleans as varchar(5) . You must set this setting on both + // the source and target endpoints for it to take effect. MapBooleanAsBoolean *bool // When true, DMS migrates JSONB values as CLOB. @@ -2604,6 +2722,21 @@ type RedisSettings struct { noSmithyDocumentSerde } +// Provides information that defines an Amazon Redshift data provider. +type RedshiftDataProviderSettings struct { + + // The database name on the Amazon Redshift data provider. + DatabaseName *string + + // The port value for the Amazon Redshift data provider. + Port *int32 + + // The name of the Amazon Redshift server. + ServerName *string + + noSmithyDocumentSerde +} + // Provides information that defines an Amazon Redshift endpoint. type RedshiftSettings struct { @@ -2696,7 +2829,8 @@ type RedshiftSettings struct { LoadTimeout *int32 // When true, lets Redshift migrate the boolean type as boolean. By default, - // Redshift migrates booleans as varchar(1) . + // Redshift migrates booleans as varchar(1) . You must set this setting on both the + // source and target endpoints for it to take effect. MapBooleanAsBoolean *bool // The maximum size (in KB) of any .csv file used to load data on an S3 bucket and @@ -3191,7 +3325,7 @@ type ReplicationTask struct { // Indicates when you want a change data capture (CDC) operation to stop. The // value can be either server time or commit time. Server time example: // --cdc-stop-position “server_time:2018-02-09T12:12:12” Commit time example: - // --cdc-stop-position “commit_time: 2018-02-09T12:12:12“ + // --cdc-stop-position “commit_time:2018-02-09T12:12:12“ CdcStopPosition *string // The last error (failure) message generated for the replication task. @@ -3649,11 +3783,11 @@ type S3Settings struct { // An optional parameter that specifies how DMS treats null values. While handling // the null value, you can use this parameter to pass a user-defined string as null - // when writing to the target. For example, when target columns are not nullable, - // you can use this option to differentiate between the empty string value and the - // null value. So, if you set this parameter value to the empty string ("" or ''), - // DMS treats the empty string as the null value instead of NULL . The default - // value is NULL . Valid values include any valid string. + // when writing to the target. For example, when target columns are nullable, you + // can use this option to differentiate between the empty string value and the null + // value. So, if you set this parameter value to the empty string ("" or ''), DMS + // treats the empty string as the null value instead of NULL . The default value is + // NULL . Valid values include any valid string. CsvNullValue *string // The delimiter used to separate rows in the .csv file for both source and diff --git a/service/databasemigrationservice/types/types_exported_test.go b/service/databasemigrationservice/types/types_exported_test.go index ed686e34b99..f8345af9cbc 100644 --- a/service/databasemigrationservice/types/types_exported_test.go +++ b/service/databasemigrationservice/types/types_exported_test.go @@ -11,9 +11,18 @@ func ExampleDataProviderSettings_outputUsage() { var union types.DataProviderSettings // type switches can be used to check the union value switch v := union.(type) { + case *types.DataProviderSettingsMemberDocDbSettings: + _ = v.Value // Value is types.DocDbDataProviderSettings + + case *types.DataProviderSettingsMemberMariaDbSettings: + _ = v.Value // Value is types.MariaDbDataProviderSettings + case *types.DataProviderSettingsMemberMicrosoftSqlServerSettings: _ = v.Value // Value is types.MicrosoftSqlServerDataProviderSettings + case *types.DataProviderSettingsMemberMongoDbSettings: + _ = v.Value // Value is types.MongoDbDataProviderSettings + case *types.DataProviderSettingsMemberMySqlSettings: _ = v.Value // Value is types.MySqlDataProviderSettings @@ -23,6 +32,9 @@ func ExampleDataProviderSettings_outputUsage() { case *types.DataProviderSettingsMemberPostgreSqlSettings: _ = v.Value // Value is types.PostgreSqlDataProviderSettings + case *types.DataProviderSettingsMemberRedshiftSettings: + _ = v.Value // Value is types.RedshiftDataProviderSettings + case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) @@ -33,8 +45,12 @@ func ExampleDataProviderSettings_outputUsage() { } var _ *types.OracleDataProviderSettings +var _ *types.DocDbDataProviderSettings +var _ *types.MariaDbDataProviderSettings var _ *types.PostgreSqlDataProviderSettings +var _ *types.MongoDbDataProviderSettings var _ *types.MicrosoftSqlServerDataProviderSettings +var _ *types.RedshiftDataProviderSettings var _ *types.MySqlDataProviderSettings func ExampleErrorDetails_outputUsage() { diff --git a/service/ec2/types/enums.go b/service/ec2/types/enums.go index 01d147e8ad8..fb13d0bd873 100644 --- a/service/ec2/types/enums.go +++ b/service/ec2/types/enums.go @@ -3562,6 +3562,7 @@ const ( InstanceTypeC7i16xlarge InstanceType = "c7i.16xlarge" InstanceTypeC7i24xlarge InstanceType = "c7i.24xlarge" InstanceTypeC7i48xlarge InstanceType = "c7i.48xlarge" + InstanceTypeMac2M2proMetal InstanceType = "mac2-m2pro.metal" ) // Values returns all known values for InstanceType. Note that this can be @@ -4309,6 +4310,7 @@ func (InstanceType) Values() []InstanceType { "c7i.16xlarge", "c7i.24xlarge", "c7i.48xlarge", + "mac2-m2pro.metal", } } diff --git a/service/efs/api_op_CreateFileSystem.go b/service/efs/api_op_CreateFileSystem.go index b3bb67366f1..13cb601fe4d 100644 --- a/service/efs/api_op_CreateFileSystem.go +++ b/service/efs/api_op_CreateFileSystem.go @@ -130,14 +130,14 @@ type CreateFileSystemInput struct { // operations per second with a tradeoff of slightly higher latencies for most file // operations. The performance mode can't be changed after the file system has been // created. The maxIO mode is not supported on file systems using One Zone storage - // classes. + // classes. Default is generalPurpose . PerformanceMode types.PerformanceMode - // The throughput, measured in MiB/s, that you want to provision for a file system - // that you're creating. Valid values are 1-1024. Required if ThroughputMode is - // set to provisioned . The upper limit for throughput is 1024 MiB/s. To increase - // this limit, contact Amazon Web Services Support. For more information, see - // Amazon EFS quotas that you can increase (https://docs.aws.amazon.com/efs/latest/ug/limits.html#soft-limits) + // The throughput, measured in mebibytes per second (MiBps), that you want to + // provision for a file system that you're creating. Required if ThroughputMode is + // set to provisioned . Valid values are 1-3414 MiBps, with the upper limit + // depending on Region. To increase this limit, contact Amazon Web Services + // Support. For more information, see Amazon EFS quotas that you can increase (https://docs.aws.amazon.com/efs/latest/ug/limits.html#soft-limits) // in the Amazon EFS User Guide. ProvisionedThroughputInMibps *float64 @@ -247,7 +247,7 @@ type CreateFileSystemOutput struct { // the value in this field. Name *string - // The amount of provisioned throughput, measured in MiB/s, for the file system. + // The amount of provisioned throughput, measured in MiBps, for the file system. // Valid for file systems using ThroughputMode set to provisioned . ProvisionedThroughputInMibps *float64 diff --git a/service/efs/api_op_CreateReplicationConfiguration.go b/service/efs/api_op_CreateReplicationConfiguration.go index 002b04dcbb1..bf18fba7475 100644 --- a/service/efs/api_op_CreateReplicationConfiguration.go +++ b/service/efs/api_op_CreateReplicationConfiguration.go @@ -31,9 +31,10 @@ import ( // The destination file system configuration consists of the following properties: // - Amazon Web Services Region - The Amazon Web Services Region in which the // destination file system is created. Amazon EFS replication is available in all -// Amazon Web Services Regions that Amazon EFS is available in, except Africa (Cape -// Town), Asia Pacific (Hong Kong), Asia Pacific (Jakarta), Europe (Milan), and -// Middle East (Bahrain). +// Amazon Web Services Regions in which EFS is available. To use EFS replication in +// a Region that is disabled by default, you must first opt in to the Region. For +// more information, see Managing Amazon Web Services Regions (https://docs.aws.amazon.com/general/latest/gr/rande-manage.html#rande-manage-enable) +// in the Amazon Web Services General Reference Reference Guide // - Availability Zone - If you want the destination file system to use EFS One // Zone availability and durability, you must specify the Availability Zone to // create the file system in. For more information about EFS storage classes, see @@ -59,7 +60,7 @@ import ( // are not enabled on the destination file system. After the destination file // system is created, you can enable EFS lifecycle management and EFS // Intelligent-Tiering. -// - Automatic backups - Automatic daily backups not enabled on the destination +// - Automatic backups - Automatic daily backups are enabled on the destination // file system. After the file system is created, you can change this setting. // // For more information, see Amazon EFS replication (https://docs.aws.amazon.com/efs/latest/ug/efs-replication.html) @@ -97,6 +98,7 @@ type CreateReplicationConfigurationInput struct { noSmithyDocumentSerde } +// Describes the replication configuration for a specific file system. type CreateReplicationConfigurationOutput struct { // Describes when the replication configuration was created. diff --git a/service/efs/api_op_DeleteReplicationConfiguration.go b/service/efs/api_op_DeleteReplicationConfiguration.go index 88bb976b54f..097401c2819 100644 --- a/service/efs/api_op_DeleteReplicationConfiguration.go +++ b/service/efs/api_op_DeleteReplicationConfiguration.go @@ -15,9 +15,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes an existing replication configuration. To delete a replication -// configuration, you must make the request from the Amazon Web Services Region in -// which the destination file system is located. Deleting a replication +// Deletes an existing replication configuration. Deleting a replication // configuration ends the replication process. After a replication configuration is // deleted, the destination file system is no longer read-only. You can write to // the destination file system after its status becomes Writeable . diff --git a/service/efs/api_op_DescribeAccountPreferences.go b/service/efs/api_op_DescribeAccountPreferences.go index fb9a4465cc6..2bae2e759e3 100644 --- a/service/efs/api_op_DescribeAccountPreferences.go +++ b/service/efs/api_op_DescribeAccountPreferences.go @@ -18,7 +18,7 @@ import ( // Returns the account preferences settings for the Amazon Web Services account // associated with the user making the request, in the current Amazon Web Services -// Region. For more information, see Managing Amazon EFS resource IDs . +// Region. func (c *Client) DescribeAccountPreferences(ctx context.Context, params *DescribeAccountPreferencesInput, optFns ...func(*Options)) (*DescribeAccountPreferencesOutput, error) { if params == nil { params = &DescribeAccountPreferencesInput{} diff --git a/service/efs/api_op_UpdateFileSystem.go b/service/efs/api_op_UpdateFileSystem.go index 577030842fa..11c39a44a88 100644 --- a/service/efs/api_op_UpdateFileSystem.go +++ b/service/efs/api_op_UpdateFileSystem.go @@ -41,10 +41,13 @@ type UpdateFileSystemInput struct { // This member is required. FileSystemId *string - // (Optional) Sets the amount of provisioned throughput, in MiB/s, for the file - // system. Valid values are 1-1024. If you are changing the throughput mode to - // provisioned, you must also provide the amount of provisioned throughput. - // Required if ThroughputMode is changed to provisioned on update. + // (Optional) The throughput, measured in mebibytes per second (MiBps), that you + // want to provision for a file system that you're creating. Required if + // ThroughputMode is set to provisioned . Valid values are 1-3414 MiBps, with the + // upper limit depending on Region. To increase this limit, contact Amazon Web + // Services Support. For more information, see Amazon EFS quotas that you can + // increase (https://docs.aws.amazon.com/efs/latest/ug/limits.html#soft-limits) in + // the Amazon EFS User Guide. ProvisionedThroughputInMibps *float64 // (Optional) Updates the file system's throughput mode. If you're not updating @@ -143,7 +146,7 @@ type UpdateFileSystemOutput struct { // the value in this field. Name *string - // The amount of provisioned throughput, measured in MiB/s, for the file system. + // The amount of provisioned throughput, measured in MiBps, for the file system. // Valid for file systems using ThroughputMode set to provisioned . ProvisionedThroughputInMibps *float64 diff --git a/service/efs/types/types.go b/service/efs/types/types.go index 22093f8ba17..bdf56896ef3 100644 --- a/service/efs/types/types.go +++ b/service/efs/types/types.go @@ -254,7 +254,7 @@ type FileSystemDescription struct { // the value in this field. Name *string - // The amount of provisioned throughput, measured in MiB/s, for the file system. + // The amount of provisioned throughput, measured in MiBps, for the file system. // Valid for file systems using ThroughputMode set to provisioned . ProvisionedThroughputInMibps *float64 @@ -395,6 +395,7 @@ type PosixUser struct { noSmithyDocumentSerde } +// Describes the replication configuration for a specific file system. type ReplicationConfigurationDescription struct { // Describes when the replication configuration was created. diff --git a/service/guardduty/api_op_EnableOrganizationAdminAccount.go b/service/guardduty/api_op_EnableOrganizationAdminAccount.go index a2fdabbca8f..9f1b7724cba 100644 --- a/service/guardduty/api_op_EnableOrganizationAdminAccount.go +++ b/service/guardduty/api_op_EnableOrganizationAdminAccount.go @@ -35,7 +35,7 @@ func (c *Client) EnableOrganizationAdminAccount(ctx context.Context, params *Ena type EnableOrganizationAdminAccountInput struct { - // The Amazon Web Services Account ID for the organization account to be enabled + // The Amazon Web Services account ID for the organization account to be enabled // as a GuardDuty delegated administrator. // // This member is required. diff --git a/service/guardduty/api_op_InviteMembers.go b/service/guardduty/api_op_InviteMembers.go index 714340b40b9..d985e2f509b 100644 --- a/service/guardduty/api_op_InviteMembers.go +++ b/service/guardduty/api_op_InviteMembers.go @@ -18,8 +18,9 @@ import ( // Invites Amazon Web Services accounts to become members of an organization // administered by the Amazon Web Services account that invokes this API. If you -// are using organizations to manager your GuardDuty environment, this step is not -// needed. For more information, see Managing accounts with organizations (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_organizations.html) +// are using Amazon Web Services Organizations to manage your GuardDuty +// environment, this step is not needed. For more information, see Managing +// accounts with organizations (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_organizations.html) // . To invite Amazon Web Services accounts, the first step is to ensure that // GuardDuty has been enabled in the potential member accounts. You can now invoke // this API to add accounts by invitation. The invited accounts can either accept diff --git a/service/guardduty/api_op_ListOrganizationAdminAccounts.go b/service/guardduty/api_op_ListOrganizationAdminAccounts.go index 76330a41757..0e41d95eb51 100644 --- a/service/guardduty/api_op_ListOrganizationAdminAccounts.go +++ b/service/guardduty/api_op_ListOrganizationAdminAccounts.go @@ -16,7 +16,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists the accounts configured as GuardDuty delegated administrators. Only the +// Lists the accounts designated as GuardDuty delegated administrators. Only the // organization's management account can run this API operation. func (c *Client) ListOrganizationAdminAccounts(ctx context.Context, params *ListOrganizationAdminAccountsInput, optFns ...func(*Options)) (*ListOrganizationAdminAccountsOutput, error) { if params == nil { diff --git a/service/guardduty/api_op_UpdateOrganizationConfiguration.go b/service/guardduty/api_op_UpdateOrganizationConfiguration.go index 9474cf27c11..611498285c5 100644 --- a/service/guardduty/api_op_UpdateOrganizationConfiguration.go +++ b/service/guardduty/api_op_UpdateOrganizationConfiguration.go @@ -44,10 +44,10 @@ type UpdateOrganizationConfigurationInput struct { // This member is required. DetectorId *string - // Indicates whether to automatically enable member accounts in the organization. - // Even though this is still supported, we recommend using - // AutoEnableOrganizationMembers to achieve the similar results. You must provide - // the value for either autoEnableOrganizationMembers or autoEnable . + // Represents whether or not to automatically enable member accounts in the + // organization. Even though this is still supported, we recommend using + // AutoEnableOrganizationMembers to achieve the similar results. You must provide a + // value for either autoEnableOrganizationMembers or autoEnable . // // Deprecated: This field is deprecated, use AutoEnableOrganizationMembers instead AutoEnable bool diff --git a/service/guardduty/types/enums.go b/service/guardduty/types/enums.go index e02842b4fe5..c649ef10820 100644 --- a/service/guardduty/types/enums.go +++ b/service/guardduty/types/enums.go @@ -50,6 +50,7 @@ const ( CoverageFilterCriterionKeyCoverageStatus CoverageFilterCriterionKey = "COVERAGE_STATUS" CoverageFilterCriterionKeyAddonVersion CoverageFilterCriterionKey = "ADDON_VERSION" CoverageFilterCriterionKeyManagementType CoverageFilterCriterionKey = "MANAGEMENT_TYPE" + CoverageFilterCriterionKeyEksClusterName CoverageFilterCriterionKey = "EKS_CLUSTER_NAME" ) // Values returns all known values for CoverageFilterCriterionKey. Note that this @@ -63,6 +64,7 @@ func (CoverageFilterCriterionKey) Values() []CoverageFilterCriterionKey { "COVERAGE_STATUS", "ADDON_VERSION", "MANAGEMENT_TYPE", + "EKS_CLUSTER_NAME", } } @@ -76,6 +78,7 @@ const ( CoverageSortKeyIssue CoverageSortKey = "ISSUE" CoverageSortKeyAddonVersion CoverageSortKey = "ADDON_VERSION" CoverageSortKeyUpdatedAt CoverageSortKey = "UPDATED_AT" + CoverageSortKeyEksClusterName CoverageSortKey = "EKS_CLUSTER_NAME" ) // Values returns all known values for CoverageSortKey. Note that this can be @@ -89,6 +92,7 @@ func (CoverageSortKey) Values() []CoverageSortKey { "ISSUE", "ADDON_VERSION", "UPDATED_AT", + "EKS_CLUSTER_NAME", } } diff --git a/service/guardduty/types/types.go b/service/guardduty/types/types.go index 8d11f0e6202..c689899c2a5 100644 --- a/service/guardduty/types/types.go +++ b/service/guardduty/types/types.go @@ -420,7 +420,8 @@ type CoverageFilterCriteria struct { // operation. type CoverageFilterCriterion struct { - // An enum value representing possible filter fields. + // An enum value representing possible filter fields. Replace the enum value + // CLUSTER_NAME with EKS_CLUSTER_NAME . CLUSTER_NAME has been deprecated. CriterionKey CoverageFilterCriterionKey // Contains information about the condition. @@ -472,7 +473,8 @@ type CoverageResourceDetails struct { // Information about the sorting criteria used in the coverage statistics. type CoverageSortCriteria struct { - // Represents the field name used to sort the coverage details. + // Represents the field name used to sort the coverage details. Replace the enum + // value CLUSTER_NAME with EKS_CLUSTER_NAME . CLUSTER_NAME has been deprecated. AttributeName CoverageSortKey // The order in which the sorted findings are to be displayed. @@ -916,7 +918,8 @@ type FilterCriteria struct { type FilterCriterion struct { // An enum value representing possible scan properties to match with given scan - // entries. + // entries. Replace the enum value CLUSTER_NAME with EKS_CLUSTER_NAME . + // CLUSTER_NAME has been deprecated. CriterionKey CriterionKey // Contains information about the condition. @@ -925,7 +928,7 @@ type FilterCriterion struct { noSmithyDocumentSerde } -// Contains information about the finding, which is generated when abnormal or +// Contains information about the finding that is generated when abnormal or // suspicious activity is detected. type Finding struct { @@ -1783,9 +1786,9 @@ type OrganizationFeatureConfiguration struct { // The additional information that will be configured for the organization. AdditionalConfiguration []OrganizationAdditionalConfiguration - // The status of the feature that will be configured for the organization. Use one - // of the following values to configure the feature status for the entire - // organization: + // Describes the status of the feature that is configured for the member accounts + // within the organization. One of the following values is the status for the + // entire organization: // - NEW : Indicates that when a new account joins the organization, they will // have the feature enabled automatically. // - ALL : Indicates that all accounts in the organization have the feature @@ -2452,16 +2455,16 @@ type ScanCondition struct { noSmithyDocumentSerde } -// Represents key, value pair to be matched against given resource property. +// Represents the key:value pair to be matched against given resource property. type ScanConditionPair struct { - // Represents key in the map condition. + // Represents the key in the map condition. // // This member is required. Key *string - // Represents optional value in the map condition. If not specified, only key will - // be matched. + // Represents optional value in the map condition. If not specified, only the key + // will be matched. Value *string noSmithyDocumentSerde diff --git a/service/mediaconvert/deserializers.go b/service/mediaconvert/deserializers.go index 4b467471038..2fe8caf85bb 100644 --- a/service/mediaconvert/deserializers.go +++ b/service/mediaconvert/deserializers.go @@ -15556,6 +15556,19 @@ func awsRestjson1_deserializeDocumentJobSettings(v **types.JobSettings, value in return err } + case "followInputIndex": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected __integerMin0Max149 to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.FollowInputIndex = ptr.Int32(int32(i64)) + } + case "inputs": if err := awsRestjson1_deserializeDocument__listOfInput(&sv.Inputs, value); err != nil { return err @@ -15809,6 +15822,19 @@ func awsRestjson1_deserializeDocumentJobTemplateSettings(v **types.JobTemplateSe return err } + case "followInputIndex": + if value != nil { + jtv, ok := value.(json.Number) + if !ok { + return fmt.Errorf("expected __integerMin0Max149 to be json.Number, got %T instead", value) + } + i64, err := jtv.Int64() + if err != nil { + return err + } + sv.FollowInputIndex = ptr.Int32(int32(i64)) + } + case "inputs": if err := awsRestjson1_deserializeDocument__listOfInputTemplate(&sv.Inputs, value); err != nil { return err @@ -20476,7 +20502,7 @@ func awsRestjson1_deserializeDocumentSpekeKeyProvider(v **types.SpekeKeyProvider if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected __stringPatternHttps to be of type string, got %T instead", value) + return fmt.Errorf("expected __stringPatternHttpsD to be of type string, got %T instead", value) } sv.Url = ptr.String(jtv) } @@ -20544,7 +20570,7 @@ func awsRestjson1_deserializeDocumentSpekeKeyProviderCmaf(v **types.SpekeKeyProv if value != nil { jtv, ok := value.(string) if !ok { - return fmt.Errorf("expected __stringPatternHttps to be of type string, got %T instead", value) + return fmt.Errorf("expected __stringPatternHttpsD to be of type string, got %T instead", value) } sv.Url = ptr.String(jtv) } diff --git a/service/mediaconvert/serializers.go b/service/mediaconvert/serializers.go index 28a334f9e81..d1c6535fd0e 100644 --- a/service/mediaconvert/serializers.go +++ b/service/mediaconvert/serializers.go @@ -7031,6 +7031,11 @@ func awsRestjson1_serializeDocumentJobSettings(v *types.JobSettings, value smith } } + if v.FollowInputIndex != nil { + ok := object.Key("followInputIndex") + ok.Integer(*v.FollowInputIndex) + } + if v.Inputs != nil { ok := object.Key("inputs") if err := awsRestjson1_serializeDocument__listOfInput(v.Inputs, ok); err != nil { @@ -7120,6 +7125,11 @@ func awsRestjson1_serializeDocumentJobTemplateSettings(v *types.JobTemplateSetti } } + if v.FollowInputIndex != nil { + ok := object.Key("followInputIndex") + ok.Integer(*v.FollowInputIndex) + } + if v.Inputs != nil { ok := object.Key("inputs") if err := awsRestjson1_serializeDocument__listOfInputTemplate(v.Inputs, ok); err != nil { diff --git a/service/mediaconvert/types/enums.go b/service/mediaconvert/types/enums.go index b0e0be1f1e3..85a60e8778b 100644 --- a/service/mediaconvert/types/enums.go +++ b/service/mediaconvert/types/enums.go @@ -1842,6 +1842,7 @@ const ( CmfcAudioTrackTypeAlternateAudioAutoSelectDefault CmfcAudioTrackType = "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT" CmfcAudioTrackTypeAlternateAudioAutoSelect CmfcAudioTrackType = "ALTERNATE_AUDIO_AUTO_SELECT" CmfcAudioTrackTypeAlternateAudioNotAutoSelect CmfcAudioTrackType = "ALTERNATE_AUDIO_NOT_AUTO_SELECT" + CmfcAudioTrackTypeAudioOnlyVariantStream CmfcAudioTrackType = "AUDIO_ONLY_VARIANT_STREAM" ) // Values returns all known values for CmfcAudioTrackType. Note that this can be @@ -1852,6 +1853,7 @@ func (CmfcAudioTrackType) Values() []CmfcAudioTrackType { "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT", "ALTERNATE_AUDIO_AUTO_SELECT", "ALTERNATE_AUDIO_NOT_AUTO_SELECT", + "AUDIO_ONLY_VARIANT_STREAM", } } diff --git a/service/mediaconvert/types/types.go b/service/mediaconvert/types/types.go index d3fe2aeec74..b837cbb6281 100644 --- a/service/mediaconvert/types/types.go +++ b/service/mediaconvert/types/types.go @@ -1712,10 +1712,13 @@ type CmfcSettings struct { // Use this setting to control the values that MediaConvert puts in your HLS // parent playlist to control how the client player selects which audio track to - // play. The other options for this setting determine the values that MediaConvert - // writes for the DEFAULT and AUTOSELECT attributes of the EXT-X-MEDIA entry for - // the audio variant. For more information about these attributes, see the Apple - // documentation article + // play. Choose Audio-only variant stream (AUDIO_ONLY_VARIANT_STREAM) for any + // variant that you want to prohibit the client from playing with video. This + // causes MediaConvert to represent the variant as an EXT-X-STREAM-INF in the HLS + // manifest. The other options for this setting determine the values that + // MediaConvert writes for the DEFAULT and AUTOSELECT attributes of the EXT-X-MEDIA + // entry for the audio variant. For more information about these attributes, see + // the Apple documentation article // https://developer.apple.com/documentation/http_live_streaming/example_playlists_for_http_live_streaming/adding_alternate_media_to_a_playlist. // Choose Alternate audio, auto select, default to set DEFAULT=YES and // AUTOSELECT=YES. Choose this value for only one variant in your output group. @@ -4980,6 +4983,14 @@ type JobSettings struct { // Content Advisory. ExtendedDataServices *ExtendedDataServices + // Specifies which input metadata to use for the default "Follow input" option for + // the following settings: resolution, frame rate, and pixel aspect ratio. In the + // simplest case, specify which input is used based on its index in the job. For + // example if you specify 3, then the fourth input will be used from each input. If + // the job does not have a fourth input, then the first input will be used. If no + // followInputIndex is specified, then 0 will be chosen automatically. + FollowInputIndex *int32 + // Use Inputs to define source file used in the transcode job. There can be // multiple inputs add in a job. These inputs will be concantenated together to // create the output. @@ -5116,6 +5127,14 @@ type JobTemplateSettings struct { // Content Advisory. ExtendedDataServices *ExtendedDataServices + // Specifies which input metadata to use for the default "Follow input" option for + // the following settings: resolution, frame rate, and pixel aspect ratio. In the + // simplest case, specify which input is used based on its index in the job. For + // example if you specify 3, then the fourth input will be used from each input. If + // the job does not have a fourth input, then the first input will be used. If no + // followInputIndex is specified, then 0 will be chosen automatically. + FollowInputIndex *int32 + // Use Inputs to define the source file used in the transcode job. There can only // be one input in a job template. Using the API, you can include multiple inputs // when referencing a job template. @@ -7140,7 +7159,10 @@ type S3DestinationSettings struct { // S3. Encryption *S3EncryptionSettings - // Specify the S3 storage class to use for this destination. + // Specify the S3 storage class to use for this output. To use your destination's + // default storage class: Keep the default value, Not set. For more information + // about S3 storage classes, see + // https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-class-intro.html StorageClass S3StorageClass noSmithyDocumentSerde diff --git a/service/sso/internal/endpoints/endpoints.go b/service/sso/internal/endpoints/endpoints.go index 18849bab6a5..f044afde47c 100644 --- a/service/sso/internal/endpoints/endpoints.go +++ b/service/sso/internal/endpoints/endpoints.go @@ -227,6 +227,14 @@ var defaultPartitions = endpoints.Partitions{ Region: "eu-central-1", }, }, + endpoints.EndpointKey{ + Region: "eu-central-2", + }: endpoints.Endpoint{ + Hostname: "portal.sso.eu-central-2.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "eu-central-2", + }, + }, endpoints.EndpointKey{ Region: "eu-north-1", }: endpoints.Endpoint{ @@ -359,6 +367,24 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.AwsCn, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "cn-north-1", + }: endpoints.Endpoint{ + Hostname: "portal.sso.cn-north-1.amazonaws.com.cn", + CredentialScope: endpoints.CredentialScope{ + Region: "cn-north-1", + }, + }, + endpoints.EndpointKey{ + Region: "cn-northwest-1", + }: endpoints.Endpoint{ + Hostname: "portal.sso.cn-northwest-1.amazonaws.com.cn", + CredentialScope: endpoints.CredentialScope{ + Region: "cn-northwest-1", + }, + }, + }, }, { ID: "aws-iso", diff --git a/service/ssooidc/internal/endpoints/endpoints.go b/service/ssooidc/internal/endpoints/endpoints.go index 00410fa9d54..c48da8b88a6 100644 --- a/service/ssooidc/internal/endpoints/endpoints.go +++ b/service/ssooidc/internal/endpoints/endpoints.go @@ -227,6 +227,14 @@ var defaultPartitions = endpoints.Partitions{ Region: "eu-central-1", }, }, + endpoints.EndpointKey{ + Region: "eu-central-2", + }: endpoints.Endpoint{ + Hostname: "oidc.eu-central-2.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "eu-central-2", + }, + }, endpoints.EndpointKey{ Region: "eu-north-1", }: endpoints.Endpoint{ @@ -359,6 +367,24 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.AwsCn, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "cn-north-1", + }: endpoints.Endpoint{ + Hostname: "oidc.cn-north-1.amazonaws.com.cn", + CredentialScope: endpoints.CredentialScope{ + Region: "cn-north-1", + }, + }, + endpoints.EndpointKey{ + Region: "cn-northwest-1", + }: endpoints.Endpoint{ + Hostname: "oidc.cn-northwest-1.amazonaws.com.cn", + CredentialScope: endpoints.CredentialScope{ + Region: "cn-northwest-1", + }, + }, + }, }, { ID: "aws-iso",