diff --git a/.changelog/2dd86ee01ff44ae2a3d6098a2174ccbf.json b/.changelog/2dd86ee01ff44ae2a3d6098a2174ccbf.json new file mode 100644 index 00000000000..be1ca839742 --- /dev/null +++ b/.changelog/2dd86ee01ff44ae2a3d6098a2174ccbf.json @@ -0,0 +1,8 @@ +{ + "id": "2dd86ee0-1ff4-4ae2-a3d6-098a2174ccbf", + "type": "feature", + "description": "Documentation updates for Amazon API Gateway", + "modules": [ + "service/apigatewayv2" + ] +} \ No newline at end of file diff --git a/.changelog/82bdd515613b4b45810be5b9fbdb0c25.json b/.changelog/82bdd515613b4b45810be5b9fbdb0c25.json new file mode 100644 index 00000000000..62c8b666282 --- /dev/null +++ b/.changelog/82bdd515613b4b45810be5b9fbdb0c25.json @@ -0,0 +1,8 @@ +{ + "id": "82bdd515-613b-4b45-810b-e5b9fbdb0c25", + "type": "documentation", + "description": "Doc-only update that adds defaults for CloudFront VpcOriginEndpointConfig values.", + "modules": [ + "service/cloudfront" + ] +} \ No newline at end of file diff --git a/.changelog/b9310cb8012b4e4b81871a325c2df06f.json b/.changelog/b9310cb8012b4e4b81871a325c2df06f.json new file mode 100644 index 00000000000..4db51d5df15 --- /dev/null +++ b/.changelog/b9310cb8012b4e4b81871a325c2df06f.json @@ -0,0 +1,8 @@ +{ + "id": "b9310cb8-012b-4e4b-8187-1a325c2df06f", + "type": "documentation", + "description": "Updated the CreateContact API documentation to indicate that it only applies to EMAIL contacts.", + "modules": [ + "service/connect" + ] +} \ No newline at end of file diff --git a/.changelog/f31fc60c43194f10950682adc6c83ed7.json b/.changelog/f31fc60c43194f10950682adc6c83ed7.json new file mode 100644 index 00000000000..9989b2d8d95 --- /dev/null +++ b/.changelog/f31fc60c43194f10950682adc6c83ed7.json @@ -0,0 +1,8 @@ +{ + "id": "f31fc60c-4319-4f10-9506-82adc6c83ed7", + "type": "feature", + "description": "New vendors for DMS Data Providers: DB2 LUW and DB2 for z/OS", + "modules": [ + "service/databasemigrationservice" + ] +} \ No newline at end of file diff --git a/service/apigatewayv2/api_op_CreateIntegration.go b/service/apigatewayv2/api_op_CreateIntegration.go index ee0014868ff..e261fa72cc6 100644 --- a/service/apigatewayv2/api_op_CreateIntegration.go +++ b/service/apigatewayv2/api_op_CreateIntegration.go @@ -140,7 +140,10 @@ type CreateIntegrationInput struct { PassthroughBehavior types.PassthroughBehavior // Specifies the format of the payload sent to an integration. Required for HTTP - // APIs. + // APIs. Supported values for Lambda proxy integrations are 1.0 and 2.0. For all + // other integrations, 1.0 is the only supported value. To learn more, see [Working with AWS Lambda proxy integrations for HTTP APIs]. + // + // [Working with AWS Lambda proxy integrations for HTTP APIs]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html PayloadFormatVersion *string // For WebSocket APIs, a key-value map specifying request parameters that are @@ -323,7 +326,10 @@ type CreateIntegrationOutput struct { PassthroughBehavior types.PassthroughBehavior // Specifies the format of the payload sent to an integration. Required for HTTP - // APIs. + // APIs. Supported values for Lambda proxy integrations are 1.0 and 2.0. For all + // other integrations, 1.0 is the only supported value. To learn more, see [Working with AWS Lambda proxy integrations for HTTP APIs]. + // + // [Working with AWS Lambda proxy integrations for HTTP APIs]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html PayloadFormatVersion *string // For WebSocket APIs, a key-value map specifying request parameters that are diff --git a/service/apigatewayv2/api_op_GetIntegration.go b/service/apigatewayv2/api_op_GetIntegration.go index 4cb90cdae9e..b0982720152 100644 --- a/service/apigatewayv2/api_op_GetIntegration.go +++ b/service/apigatewayv2/api_op_GetIntegration.go @@ -160,7 +160,10 @@ type GetIntegrationOutput struct { PassthroughBehavior types.PassthroughBehavior // Specifies the format of the payload sent to an integration. Required for HTTP - // APIs. + // APIs. Supported values for Lambda proxy integrations are 1.0 and 2.0. For all + // other integrations, 1.0 is the only supported value. To learn more, see [Working with AWS Lambda proxy integrations for HTTP APIs]. + // + // [Working with AWS Lambda proxy integrations for HTTP APIs]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html PayloadFormatVersion *string // For WebSocket APIs, a key-value map specifying request parameters that are diff --git a/service/apigatewayv2/api_op_UpdateIntegration.go b/service/apigatewayv2/api_op_UpdateIntegration.go index 386417b88a8..5de4a449a2e 100644 --- a/service/apigatewayv2/api_op_UpdateIntegration.go +++ b/service/apigatewayv2/api_op_UpdateIntegration.go @@ -143,7 +143,10 @@ type UpdateIntegrationInput struct { PassthroughBehavior types.PassthroughBehavior // Specifies the format of the payload sent to an integration. Required for HTTP - // APIs. + // APIs. Supported values for Lambda proxy integrations are 1.0 and 2.0. For all + // other integrations, 1.0 is the only supported value. To learn more, see [Working with AWS Lambda proxy integrations for HTTP APIs]. + // + // [Working with AWS Lambda proxy integrations for HTTP APIs]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html PayloadFormatVersion *string // For WebSocket APIs, a key-value map specifying request parameters that are @@ -326,7 +329,10 @@ type UpdateIntegrationOutput struct { PassthroughBehavior types.PassthroughBehavior // Specifies the format of the payload sent to an integration. Required for HTTP - // APIs. + // APIs. Supported values for Lambda proxy integrations are 1.0 and 2.0. For all + // other integrations, 1.0 is the only supported value. To learn more, see [Working with AWS Lambda proxy integrations for HTTP APIs]. + // + // [Working with AWS Lambda proxy integrations for HTTP APIs]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html PayloadFormatVersion *string // For WebSocket APIs, a key-value map specifying request parameters that are diff --git a/service/apigatewayv2/types/types.go b/service/apigatewayv2/types/types.go index 474effe63b4..020c8b035b7 100644 --- a/service/apigatewayv2/types/types.go +++ b/service/apigatewayv2/types/types.go @@ -450,7 +450,10 @@ type Integration struct { PassthroughBehavior PassthroughBehavior // Specifies the format of the payload sent to an integration. Required for HTTP - // APIs. + // APIs. Supported values for Lambda proxy integrations are 1.0 and 2.0. For all + // other integrations, 1.0 is the only supported value. To learn more, see [Working with AWS Lambda proxy integrations for HTTP APIs]. + // + // [Working with AWS Lambda proxy integrations for HTTP APIs]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html PayloadFormatVersion *string // For WebSocket APIs, a key-value map specifying request parameters that are diff --git a/service/cloudfront/api_op_DeleteVpcOrigin.go b/service/cloudfront/api_op_DeleteVpcOrigin.go index 917f2b48fc7..4a9b4bb8372 100644 --- a/service/cloudfront/api_op_DeleteVpcOrigin.go +++ b/service/cloudfront/api_op_DeleteVpcOrigin.go @@ -34,7 +34,8 @@ type DeleteVpcOriginInput struct { // This member is required. Id *string - // The VPC origin to delete, if a match occurs. + // The version identifier of the VPC origin to delete. This is the ETag value + // returned in the response to GetVpcOrigin. // // This member is required. IfMatch *string diff --git a/service/cloudfront/types/types.go b/service/cloudfront/types/types.go index 9262c6eb29f..04975247ed7 100644 --- a/service/cloudfront/types/types.go +++ b/service/cloudfront/types/types.go @@ -158,7 +158,10 @@ type AllowedMethods struct { noSmithyDocumentSerde } -// An Anycast static IP list. +// An Anycast static IP list. For more information, see [Request Anycast static IPs to use for allowlisting] in the Amazon CloudFront +// Developer Guide. +// +// [Request Anycast static IPs to use for allowlisting]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html type AnycastIpList struct { // The static IP addresses that are allocated to the Anycast static IP list. @@ -5842,12 +5845,14 @@ type VpcOriginEndpointConfig struct { // This member is required. Arn *string - // The HTTP port for the CloudFront VPC origin endpoint configuration. + // The HTTP port for the CloudFront VPC origin endpoint configuration. The default + // value is 80 . // // This member is required. HTTPPort *int32 - // The HTTPS port of the CloudFront VPC origin endpoint configuration. + // The HTTPS port of the CloudFront VPC origin endpoint configuration. The default + // value is 443 . // // This member is required. HTTPSPort *int32 diff --git a/service/connect/api_op_CreateContact.go b/service/connect/api_op_CreateContact.go index 4493d9ac00b..ccbd4110035 100644 --- a/service/connect/api_op_CreateContact.go +++ b/service/connect/api_op_CreateContact.go @@ -11,7 +11,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates a new contact. +// Only the EMAIL channel is supported. The supported initiation methods are: +// OUTBOUND, AGENT_REPLY, and FLOW. +// +// Creates a new EMAIL contact. func (c *Client) CreateContact(ctx context.Context, params *CreateContactInput, optFns ...func(*Options)) (*CreateContactOutput, error) { if params == nil { params = &CreateContactInput{} @@ -31,11 +34,19 @@ type CreateContactInput struct { // The channel for the contact // + // CreateContact only supports the EMAIL channel. The following information that + // states other channels are supported is incorrect. We are working to update this + // topic. + // // This member is required. Channel types.Channel // Indicates how the contact was initiated. // + // CreateContact only supports the following initiation methods: OUTBOUND, + // AGENT_REPLY, and FLOW. The following information that states other initiation + // methods are supported is incorrect. We are working to update this topic. + // // This member is required. InitiationMethod types.ContactInitiationMethod diff --git a/service/connect/api_op_CreateSecurityProfile.go b/service/connect/api_op_CreateSecurityProfile.go index d11f22b34ce..6937dbd1186 100644 --- a/service/connect/api_op_CreateSecurityProfile.go +++ b/service/connect/api_op_CreateSecurityProfile.go @@ -75,8 +75,10 @@ type CreateSecurityProfileInput struct { Permissions []string // The list of resources that a security profile applies tag restrictions to in - // Amazon Connect. Following are acceptable ResourceNames: User | SecurityProfile - // | Queue | RoutingProfile + // Amazon Connect. For a list of Amazon Connect resources that you can tag, see [Add tags to resources in Amazon Connect]in + // the Amazon Connect Administrator Guide. + // + // [Add tags to resources in Amazon Connect]: https://docs.aws.amazon.com/connect/latest/adminguide/tagging.html TagRestrictedResources []string // The tags used to organize, track, or control access for this resource. For diff --git a/service/connect/api_op_SearchResourceTags.go b/service/connect/api_op_SearchResourceTags.go index bfcd4f08cf3..8d094187ba6 100644 --- a/service/connect/api_op_SearchResourceTags.go +++ b/service/connect/api_op_SearchResourceTags.go @@ -44,25 +44,29 @@ type SearchResourceTagsInput struct { // The list of resource types to be used to search tags from. If not provided or // if any empty list is provided, this API will search from all supported resource - // types. + // types. Note that lowercase and - are required. // // Supported resource types // - // - AGENT + // - agent // - // - ROUTING_PROFILE + // - agent-state // - // - STANDARD_QUEUE + // - routing-profile // - // - SECURITY_PROFILE + // - standard-queue // - // - OPERATING_HOURS + // - security-profile // - // - PROMPT + // - operating-hours // - // - CONTACT_FLOW + // - prompt // - // - FLOW_MODULE + // - contact-flow + // + // - flow- module + // + // - transfer-destination (also known as quick connect) ResourceTypes []string // The search criteria to be used to return tags. diff --git a/service/connect/api_op_SearchUsers.go b/service/connect/api_op_SearchUsers.go index f95a381f8d5..3b1f1872758 100644 --- a/service/connect/api_op_SearchUsers.go +++ b/service/connect/api_op_SearchUsers.go @@ -34,8 +34,6 @@ type SearchUsersInput struct { // The identifier of the Amazon Connect instance. You can [find the instance ID] in the Amazon Resource // Name (ARN) of the instance. // - // InstanceID is a required field. The "Required: No" below is incorrect. - // // [find the instance ID]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html // // This member is required. diff --git a/service/connect/api_op_UpdateContactAttributes.go b/service/connect/api_op_UpdateContactAttributes.go index 40ba1f3ea3b..a66327599f2 100644 --- a/service/connect/api_op_UpdateContactAttributes.go +++ b/service/connect/api_op_UpdateContactAttributes.go @@ -51,8 +51,9 @@ type UpdateContactAttributesInput struct { // You can have up to 32,768 UTF-8 bytes across all attributes for a contact. // Attribute keys can include only alphanumeric, dash, and underscore characters. // - // When the attributes for a contact exceed 32 KB, the contact is routed down the - // Error branch of the flow. As a mitigation, consider the following options: + // In the [Set contact attributes] block, when the attributes for a contact exceed 32 KB, the contact is + // routed down the Error branch of the flow. As a mitigation, consider the + // following options: // // - Remove unnecessary attributes by setting their values to empty. // @@ -63,6 +64,7 @@ type UpdateContactAttributesInput struct { // Connect Administrator Guide. // // [Flow block: Set contact attributes]: https://docs.aws.amazon.com/connect/latest/adminguide/set-contact-attributes.html + // [Set contact attributes]: https://docs.aws.amazon.com/connect/latest/adminguide/set-contact-attributes.html // // This member is required. Attributes map[string]string diff --git a/service/connect/api_op_UpdateTrafficDistribution.go b/service/connect/api_op_UpdateTrafficDistribution.go index ada3a4885e5..65d5b09d086 100644 --- a/service/connect/api_op_UpdateTrafficDistribution.go +++ b/service/connect/api_op_UpdateTrafficDistribution.go @@ -13,6 +13,11 @@ import ( // Updates the traffic distribution for a given traffic distribution group. // +// When you shift telephony traffic, also shift agents and/or agent sign-ins to +// ensure they can handle the calls in the other Region. If you don't shift the +// agents, voice calls will go to the shifted Region but there won't be any agents +// available to receive the calls. +// // The SignInConfig distribution is available only on a default // TrafficDistributionGroup (see the IsDefault parameter in the [TrafficDistributionGroup] data type). If // you call UpdateTrafficDistribution with a modified SignInConfig and a diff --git a/service/connect/types/types.go b/service/connect/types/types.go index 839723eb62a..0fc08c23547 100644 --- a/service/connect/types/types.go +++ b/service/connect/types/types.go @@ -3966,7 +3966,9 @@ type NewSessionDetails struct { // The type of notification recipient. type NotificationRecipientType struct { - // A list of user IDs. + // A list of user IDs. Supports variable injection of + // $.ContactLens.ContactEvaluation.Agent.AgentId for OnContactEvaluationSubmit + // event source. UserIds []string // The tags used to organize, track, or control access for this resource. For diff --git a/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go b/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go index c2c2db0b46b..f1ba4e2b430 100644 --- a/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go +++ b/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go @@ -32,7 +32,7 @@ type ApplyPendingMaintenanceActionInput struct { // The pending maintenance action to apply to this resource. // - // Valid values: os-upgrade , system-update , db-upgrade + // Valid values: os-upgrade , system-update , db-upgrade , os-patch // // This member is required. ApplyAction *string diff --git a/service/databasemigrationservice/api_op_CreateDataProvider.go b/service/databasemigrationservice/api_op_CreateDataProvider.go index 2ca3a30a11f..e9508edec8a 100644 --- a/service/databasemigrationservice/api_op_CreateDataProvider.go +++ b/service/databasemigrationservice/api_op_CreateDataProvider.go @@ -32,8 +32,8 @@ type CreateDataProviderInput struct { // The type of database engine for the data provider. Valid values include "aurora" // , "aurora-postgresql" , "mysql" , "oracle" , "postgres" , "sqlserver" , redshift - // , mariadb , mongodb , and docdb . A value of "aurora" represents Amazon Aurora - // MySQL-Compatible Edition. + // , mariadb , mongodb , db2 , db2-zos and docdb . A value of "aurora" represents + // Amazon Aurora MySQL-Compatible Edition. // // This member is required. Engine *string diff --git a/service/databasemigrationservice/api_op_CreateReplicationInstance.go b/service/databasemigrationservice/api_op_CreateReplicationInstance.go index 18ab0ac90ff..b446018fffd 100644 --- a/service/databasemigrationservice/api_op_CreateReplicationInstance.go +++ b/service/databasemigrationservice/api_op_CreateReplicationInstance.go @@ -99,8 +99,8 @@ type CreateReplicationInstanceInput struct { // created, the default is the latest engine version available. EngineVersion *string - // Specifies the ID of the secret that stores the key cache file required for - // kerberos authentication, when creating a replication instance. + // Specifies the settings required for kerberos authentication when creating the + // replication instance. KerberosAuthenticationSettings *types.KerberosAuthenticationSettings // An KMS key identifier that is used to encrypt the data on the replication diff --git a/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go b/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go index a57be1ea963..7e50112d0ac 100644 --- a/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go +++ b/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go @@ -11,7 +11,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// For internal use only +// Returns a list of upcoming maintenance events for replication instances in your +// account in the current Region. func (c *Client) DescribePendingMaintenanceActions(ctx context.Context, params *DescribePendingMaintenanceActionsInput, optFns ...func(*Options)) (*DescribePendingMaintenanceActionsOutput, error) { if params == nil { params = &DescribePendingMaintenanceActionsInput{} diff --git a/service/databasemigrationservice/api_op_ModifyDataProvider.go b/service/databasemigrationservice/api_op_ModifyDataProvider.go index 57e96d108a3..e9a855de5ed 100644 --- a/service/databasemigrationservice/api_op_ModifyDataProvider.go +++ b/service/databasemigrationservice/api_op_ModifyDataProvider.go @@ -47,8 +47,8 @@ type ModifyDataProviderInput struct { // The type of database engine for the data provider. Valid values include "aurora" // , "aurora-postgresql" , "mysql" , "oracle" , "postgres" , "sqlserver" , redshift - // , mariadb , mongodb , and docdb . A value of "aurora" represents Amazon Aurora - // MySQL-Compatible Edition. + // , mariadb , mongodb , db2 , db2-zos and docdb . A value of "aurora" represents + // Amazon Aurora MySQL-Compatible Edition. Engine *string // If this attribute is Y, the current call to ModifyDataProvider replaces all diff --git a/service/databasemigrationservice/api_op_ModifyReplicationInstance.go b/service/databasemigrationservice/api_op_ModifyReplicationInstance.go index a1b5e6b1ea3..055db605a4c 100644 --- a/service/databasemigrationservice/api_op_ModifyReplicationInstance.go +++ b/service/databasemigrationservice/api_op_ModifyReplicationInstance.go @@ -75,8 +75,8 @@ type ModifyReplicationInstanceInput struct { // AllowMajorVersionUpgrade to true . EngineVersion *string - // Specifies the ID of the secret that stores the key cache file required for - // kerberos authentication, when modifying a replication instance. + // Specifies the settings required for kerberos authentication when modifying a + // replication instance. KerberosAuthenticationSettings *types.KerberosAuthenticationSettings // Specifies whether the replication instance is a Multi-AZ deployment. You can't diff --git a/service/databasemigrationservice/deserializers.go b/service/databasemigrationservice/deserializers.go index 33ecd7a9591..7290195e7f7 100644 --- a/service/databasemigrationservice/deserializers.go +++ b/service/databasemigrationservice/deserializers.go @@ -16188,6 +16188,26 @@ loop: uv = &types.DataProviderSettingsMemberDocDbSettings{Value: mv} break loop + case "IbmDb2LuwSettings": + var mv types.IbmDb2LuwDataProviderSettings + destAddr := &mv + if err := awsAwsjson11_deserializeDocumentIbmDb2LuwDataProviderSettings(&destAddr, value); err != nil { + return err + } + mv = *destAddr + uv = &types.DataProviderSettingsMemberIbmDb2LuwSettings{Value: mv} + break loop + + case "IbmDb2zOsSettings": + var mv types.IbmDb2zOsDataProviderSettings + destAddr := &mv + if err := awsAwsjson11_deserializeDocumentIbmDb2zOsDataProviderSettings(&destAddr, value); err != nil { + return err + } + mv = *destAddr + uv = &types.DataProviderSettingsMemberIbmDb2zOsSettings{Value: mv} + break loop + case "MariaDbSettings": var mv types.MariaDbDataProviderSettings destAddr := &mv @@ -18337,6 +18357,86 @@ func awsAwsjson11_deserializeDocumentGcpMySQLSettings(v **types.GcpMySQLSettings return nil } +func awsAwsjson11_deserializeDocumentIbmDb2LuwDataProviderSettings(v **types.IbmDb2LuwDataProviderSettings, 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.IbmDb2LuwDataProviderSettings + if *v == nil { + sv = &types.IbmDb2LuwDataProviderSettings{} + } 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_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -18514,6 +18614,86 @@ func awsAwsjson11_deserializeDocumentIBMDb2Settings(v **types.IBMDb2Settings, va return nil } +func awsAwsjson11_deserializeDocumentIbmDb2zOsDataProviderSettings(v **types.IbmDb2zOsDataProviderSettings, 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.IbmDb2zOsDataProviderSettings + if *v == nil { + sv = &types.IbmDb2zOsDataProviderSettings{} + } 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_deserializeDocumentIndividualAssessmentNameList(v *[]string, 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 046e53ab3d9..88da408a7aa 100644 --- a/service/databasemigrationservice/serializers.go +++ b/service/databasemigrationservice/serializers.go @@ -6966,6 +6966,18 @@ func awsAwsjson11_serializeDocumentDataProviderSettings(v types.DataProviderSett return err } + case *types.DataProviderSettingsMemberIbmDb2LuwSettings: + av := object.Key("IbmDb2LuwSettings") + if err := awsAwsjson11_serializeDocumentIbmDb2LuwDataProviderSettings(&uv.Value, av); err != nil { + return err + } + + case *types.DataProviderSettingsMemberIbmDb2zOsSettings: + av := object.Key("IbmDb2zOsSettings") + if err := awsAwsjson11_serializeDocumentIbmDb2zOsDataProviderSettings(&uv.Value, av); err != nil { + return err + } + case *types.DataProviderSettingsMemberMariaDbSettings: av := object.Key("MariaDbSettings") if err := awsAwsjson11_serializeDocumentMariaDbDataProviderSettings(&uv.Value, av); err != nil { @@ -7322,6 +7334,38 @@ func awsAwsjson11_serializeDocumentGcpMySQLSettings(v *types.GcpMySQLSettings, v return nil } +func awsAwsjson11_serializeDocumentIbmDb2LuwDataProviderSettings(v *types.IbmDb2LuwDataProviderSettings, 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_serializeDocumentIBMDb2Settings(v *types.IBMDb2Settings, value smithyjson.Value) error { object := value.Object() defer object.Close() @@ -7399,6 +7443,38 @@ func awsAwsjson11_serializeDocumentIBMDb2Settings(v *types.IBMDb2Settings, value return nil } +func awsAwsjson11_serializeDocumentIbmDb2zOsDataProviderSettings(v *types.IbmDb2zOsDataProviderSettings, 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_serializeDocumentIncludeTestList(v []string, value smithyjson.Value) error { array := value.Array() defer array.Close() diff --git a/service/databasemigrationservice/types/types.go b/service/databasemigrationservice/types/types.go index 27b1d8580b8..0cf7259c360 100644 --- a/service/databasemigrationservice/types/types.go +++ b/service/databasemigrationservice/types/types.go @@ -500,8 +500,8 @@ type DataProvider struct { // The type of database engine for the data provider. Valid values include "aurora" // , "aurora-postgresql" , "mysql" , "oracle" , "postgres" , "sqlserver" , redshift - // , mariadb , mongodb , and docdb . A value of "aurora" represents Amazon Aurora - // MySQL-Compatible Edition. + // , mariadb , mongodb , db2 , db2-zos and docdb . A value of "aurora" represents + // Amazon Aurora MySQL-Compatible Edition. Engine *string // The settings in JSON format for a data provider. @@ -552,6 +552,8 @@ type DataProviderDescriptorDefinition struct { // The following types satisfy this interface: // // DataProviderSettingsMemberDocDbSettings +// DataProviderSettingsMemberIbmDb2LuwSettings +// DataProviderSettingsMemberIbmDb2zOsSettings // DataProviderSettingsMemberMariaDbSettings // DataProviderSettingsMemberMicrosoftSqlServerSettings // DataProviderSettingsMemberMongoDbSettings @@ -572,6 +574,24 @@ type DataProviderSettingsMemberDocDbSettings struct { func (*DataProviderSettingsMemberDocDbSettings) isDataProviderSettings() {} +// Provides information that defines an IBM DB2 LUW data provider. +type DataProviderSettingsMemberIbmDb2LuwSettings struct { + Value IbmDb2LuwDataProviderSettings + + noSmithyDocumentSerde +} + +func (*DataProviderSettingsMemberIbmDb2LuwSettings) isDataProviderSettings() {} + +// Provides information that defines an IBM DB2 for z/OS data provider. +type DataProviderSettingsMemberIbmDb2zOsSettings struct { + Value IbmDb2zOsDataProviderSettings + + noSmithyDocumentSerde +} + +func (*DataProviderSettingsMemberIbmDb2zOsSettings) isDataProviderSettings() {} + // Provides information that defines a MariaDB data provider. type DataProviderSettingsMemberMariaDbSettings struct { Value MariaDbDataProviderSettings @@ -1330,6 +1350,28 @@ type GcpMySQLSettings struct { noSmithyDocumentSerde } +// Provides information about an IBM DB2 LUW data provider. +type IbmDb2LuwDataProviderSettings struct { + + // The Amazon Resource Name (ARN) of the certificate used for SSL connection. + CertificateArn *string + + // The database name on the DB2 LUW data provider. + DatabaseName *string + + // The port value for the DB2 LUW data provider. + Port *int32 + + // The name of the DB2 LUW server. + ServerName *string + + // The SSL mode used to connect to the DB2 LUW data provider. The default value is + // none . Valid Values: none and verify-ca . + SslMode DmsSslModeValue + + noSmithyDocumentSerde +} + // Provides information that defines an IBM Db2 LUW endpoint. type IBMDb2Settings struct { @@ -1400,6 +1442,28 @@ type IBMDb2Settings struct { noSmithyDocumentSerde } +// Provides information about an IBM DB2 for z/OS data provider. +type IbmDb2zOsDataProviderSettings struct { + + // The Amazon Resource Name (ARN) of the certificate used for SSL connection. + CertificateArn *string + + // The database name on the DB2 for z/OS data provider. + DatabaseName *string + + // The port value for the DB2 for z/OS data provider. + Port *int32 + + // The name of the DB2 for z/OS server. + ServerName *string + + // The SSL mode used to connect to the DB2 for z/OS data provider. The default + // value is none . Valid Values: none and verify-ca . + SslMode DmsSslModeValue + + noSmithyDocumentSerde +} + // Provides information that defines an instance profile. type InstanceProfile struct { @@ -3508,8 +3572,8 @@ type ReplicationInstance struct { // The time the replication instance was created. InstanceCreateTime *time.Time - // Specifies the ID of the secret that stores the key cache file required for - // kerberos authentication, when replicating an instance. + // Specifies the settings required for kerberos authentication when replicating an + // instance. KerberosAuthenticationSettings *KerberosAuthenticationSettings // An KMS key identifier that is used to encrypt the data on the replication diff --git a/service/databasemigrationservice/types/types_exported_test.go b/service/databasemigrationservice/types/types_exported_test.go index f8345af9cbc..e0be3d47777 100644 --- a/service/databasemigrationservice/types/types_exported_test.go +++ b/service/databasemigrationservice/types/types_exported_test.go @@ -14,6 +14,12 @@ func ExampleDataProviderSettings_outputUsage() { case *types.DataProviderSettingsMemberDocDbSettings: _ = v.Value // Value is types.DocDbDataProviderSettings + case *types.DataProviderSettingsMemberIbmDb2LuwSettings: + _ = v.Value // Value is types.IbmDb2LuwDataProviderSettings + + case *types.DataProviderSettingsMemberIbmDb2zOsSettings: + _ = v.Value // Value is types.IbmDb2zOsDataProviderSettings + case *types.DataProviderSettingsMemberMariaDbSettings: _ = v.Value // Value is types.MariaDbDataProviderSettings @@ -46,10 +52,12 @@ func ExampleDataProviderSettings_outputUsage() { var _ *types.OracleDataProviderSettings var _ *types.DocDbDataProviderSettings +var _ *types.IbmDb2LuwDataProviderSettings var _ *types.MariaDbDataProviderSettings var _ *types.PostgreSqlDataProviderSettings var _ *types.MongoDbDataProviderSettings var _ *types.MicrosoftSqlServerDataProviderSettings +var _ *types.IbmDb2zOsDataProviderSettings var _ *types.RedshiftDataProviderSettings var _ *types.MySqlDataProviderSettings diff --git a/service/transcribe/internal/endpoints/endpoints.go b/service/transcribe/internal/endpoints/endpoints.go index 30aa4a3a0b4..5a35261d5ca 100644 --- a/service/transcribe/internal/endpoints/endpoints.go +++ b/service/transcribe/internal/endpoints/endpoints.go @@ -347,9 +347,24 @@ var defaultPartitions = endpoints.Partitions{ RegionRegex: partitionRegexp.AwsIso, IsRegionalized: true, Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "fips-us-iso-east-1", + }: endpoints.Endpoint{ + Hostname: "fips.transcribe.us-iso-east-1.c2s.ic.gov", + CredentialScope: endpoints.CredentialScope{ + Region: "us-iso-east-1", + }, + Deprecated: aws.TrueTernary, + }, endpoints.EndpointKey{ Region: "us-iso-east-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-iso-east-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "fips.transcribe.us-iso-east-1.c2s.ic.gov", + }, }, }, {