diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f3c5ab2cc3..21dc82a5977 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +Release v1.52.0 (2024-05-01) +=== + +### Service Client Updates +* `service/bedrock-agent`: Updates service API and documentation +* `service/ec2`: Updates service documentation + * Documentation updates for Amazon EC2. +* `service/personalize-runtime`: Updates service API and documentation +* `service/securityhub`: Updates service API and documentation +* `service/sesv2`: Updates service API + +### SDK Features +* `service/alexaforbusiness`: Remove Alexaforbusiness + * This change removes the Alexaforbusiness service, since it is deprecated. + Release v1.51.32 (2024-04-30) === diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index f6203813054..8a1927a39ca 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -1,6 +1,4 @@ ### SDK Features -* `service/alexaforbusiness`: Remove Alexaforbusiness - * This change removes the Alexaforbusiness service, since it is deprecated. ### SDK Enhancements diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 1dd4cfde01d..bbbf6cbdf9b 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -4798,6 +4798,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-northeast-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-1", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -4812,6 +4815,14 @@ var awsPartition = partition{ Region: "ap-northeast-1", }, }, + endpointKey{ + Region: "bedrock-ap-south-1", + }: endpoint{ + Hostname: "bedrock.ap-south-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ap-south-1", + }, + }, endpointKey{ Region: "bedrock-ap-southeast-1", }: endpoint{ @@ -4836,6 +4847,14 @@ var awsPartition = partition{ Region: "eu-central-1", }, }, + endpointKey{ + Region: "bedrock-eu-west-1", + }: endpoint{ + Hostname: "bedrock.eu-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "eu-west-1", + }, + }, endpointKey{ Region: "bedrock-eu-west-3", }: endpoint{ @@ -4868,6 +4887,14 @@ var awsPartition = partition{ Region: "ap-northeast-1", }, }, + endpointKey{ + Region: "bedrock-runtime-ap-south-1", + }: endpoint{ + Hostname: "bedrock-runtime.ap-south-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ap-south-1", + }, + }, endpointKey{ Region: "bedrock-runtime-ap-southeast-1", }: endpoint{ @@ -4892,6 +4919,14 @@ var awsPartition = partition{ Region: "eu-central-1", }, }, + endpointKey{ + Region: "bedrock-runtime-eu-west-1", + }: endpoint{ + Hostname: "bedrock-runtime.eu-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "eu-west-1", + }, + }, endpointKey{ Region: "bedrock-runtime-eu-west-3", }: endpoint{ @@ -4951,6 +4986,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-central-1", }: endpoint{}, + endpointKey{ + Region: "eu-west-1", + }: endpoint{}, endpointKey{ Region: "eu-west-3", }: endpoint{}, @@ -34552,6 +34590,23 @@ var awsPartition = partition{ Region: "ca-central-1", }, }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{ + Hostname: "wafv2.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + }, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "wafv2-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + }, endpointKey{ Region: "eu-central-1", }: endpoint{ @@ -34796,6 +34851,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "wafv2-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-eu-central-1", }: endpoint{ diff --git a/aws/version.go b/aws/version.go index 8203a847a5c..d0d3118f27e 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.51.32" +const SDKVersion = "1.52.0" diff --git a/models/apis/bedrock-agent/2023-06-05/api-2.json b/models/apis/bedrock-agent/2023-06-05/api-2.json index 056b61a1a72..c44bdf481a0 100644 --- a/models/apis/bedrock-agent/2023-06-05/api-2.json +++ b/models/apis/bedrock-agent/2023-06-05/api-2.json @@ -2173,7 +2173,8 @@ "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", - "RDS" + "RDS", + "MONGO_DB_ATLAS" ] }, "KnowledgeBaseSummaries":{ @@ -2423,6 +2424,69 @@ "min":1, "pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}(([:][a-z0-9-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)$" }, + "MongoDbAtlasCollectionName":{ + "type":"string", + "max":63, + "min":0, + "pattern":"^.*$" + }, + "MongoDbAtlasConfiguration":{ + "type":"structure", + "required":[ + "collectionName", + "credentialsSecretArn", + "databaseName", + "endpoint", + "fieldMapping", + "vectorIndexName" + ], + "members":{ + "collectionName":{"shape":"MongoDbAtlasCollectionName"}, + "credentialsSecretArn":{"shape":"SecretArn"}, + "databaseName":{"shape":"MongoDbAtlasDatabaseName"}, + "endpoint":{"shape":"MongoDbAtlasEndpoint"}, + "endpointServiceName":{"shape":"MongoDbAtlasEndpointServiceName"}, + "fieldMapping":{"shape":"MongoDbAtlasFieldMapping"}, + "vectorIndexName":{"shape":"MongoDbAtlasIndexName"} + } + }, + "MongoDbAtlasDatabaseName":{ + "type":"string", + "max":63, + "min":0, + "pattern":"^.*$" + }, + "MongoDbAtlasEndpoint":{ + "type":"string", + "max":2048, + "min":0, + "pattern":"^.*$" + }, + "MongoDbAtlasEndpointServiceName":{ + "type":"string", + "max":255, + "min":1, + "pattern":"^(?:arn:aws(?:-us-gov|-cn|-iso|-iso-[a-z])*:.+:.*:\\d+:.+/.+$|[a-zA-Z0-9*]+[a-zA-Z0-9._-]*)$" + }, + "MongoDbAtlasFieldMapping":{ + "type":"structure", + "required":[ + "metadataField", + "textField", + "vectorField" + ], + "members":{ + "metadataField":{"shape":"FieldName"}, + "textField":{"shape":"FieldName"}, + "vectorField":{"shape":"FieldName"} + } + }, + "MongoDbAtlasIndexName":{ + "type":"string", + "max":2048, + "min":0, + "pattern":"^.*$" + }, "Name":{ "type":"string", "pattern":"^([0-9a-zA-Z][_-]?){1,100}$" @@ -2838,6 +2902,7 @@ "type":"structure", "required":["type"], "members":{ + "mongoDbAtlasConfiguration":{"shape":"MongoDbAtlasConfiguration"}, "opensearchServerlessConfiguration":{"shape":"OpenSearchServerlessConfiguration"}, "pineconeConfiguration":{"shape":"PineconeConfiguration"}, "rdsConfiguration":{"shape":"RdsConfiguration"}, diff --git a/models/apis/bedrock-agent/2023-06-05/docs-2.json b/models/apis/bedrock-agent/2023-06-05/docs-2.json index 890d3bee574..ad26299e9f7 100644 --- a/models/apis/bedrock-agent/2023-06-05/docs-2.json +++ b/models/apis/bedrock-agent/2023-06-05/docs-2.json @@ -295,7 +295,7 @@ "BucketOwnerAccountId": { "base": null, "refs": { - "S3DataSourceConfiguration$bucketOwnerAccountId": "

The account ID for the owner of the S3 bucket.

" + "S3DataSourceConfiguration$bucketOwnerAccountId": "

The bucket account owner ID for the S3 bucket.

" } }, "ChunkingConfiguration": { @@ -404,9 +404,9 @@ "DataDeletionPolicy": { "base": null, "refs": { - "CreateDataSourceRequest$dataDeletionPolicy": "

The deletion policy for the requested data source

", - "DataSource$dataDeletionPolicy": "

The deletion policy for the data source.

", - "UpdateDataSourceRequest$dataDeletionPolicy": "

The data deletion policy of the updated data source.

" + "CreateDataSourceRequest$dataDeletionPolicy": "

The data deletion policy assigned to the data source.

", + "DataSource$dataDeletionPolicy": "

The data deletion policy for a data source.

", + "UpdateDataSourceRequest$dataDeletionPolicy": "

The data deletion policy assigned to the data source.

" } }, "DataSource": { @@ -614,7 +614,7 @@ "refs": { "Agent$failureReasons": "

Contains reasons that the agent-related API that you invoked failed.

", "AgentVersion$failureReasons": "

A list of reasons that the API operation on the version failed.

", - "DataSource$failureReasons": "

The details of the failure reasons related to the data source.

", + "DataSource$failureReasons": "

The detailed reasons on the failure to delete a data source.

", "IngestionJob$failureReasons": "

A list of reasons that the ingestion job failed.

", "KnowledgeBase$failureReasons": "

A list of reasons that the API operation on the knowledge base failed.

" } @@ -622,6 +622,9 @@ "FieldName": { "base": null, "refs": { + "MongoDbAtlasFieldMapping$metadataField": "

The name of the field in which Amazon Bedrock stores metadata about the vector store.

", + "MongoDbAtlasFieldMapping$textField": "

The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.

", + "MongoDbAtlasFieldMapping$vectorField": "

The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.

", "OpenSearchServerlessFieldMapping$metadataField": "

The name of the field in which Amazon Bedrock stores metadata about the vector store.

", "OpenSearchServerlessFieldMapping$textField": "

The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.

", "OpenSearchServerlessFieldMapping$vectorField": "

The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.

", @@ -1144,6 +1147,48 @@ "UpdateAgentRequest$foundationModel": "

Specifies a new foundation model to be used for orchestration by the agent.

" } }, + "MongoDbAtlasCollectionName": { + "base": null, + "refs": { + "MongoDbAtlasConfiguration$collectionName": "

The collection name of the knowledge base in MongoDB Atlas.

" + } + }, + "MongoDbAtlasConfiguration": { + "base": "

Contains details about the storage configuration of the knowledge base in MongoDB Atlas.

", + "refs": { + "StorageConfiguration$mongoDbAtlasConfiguration": "

Contains the storage configuration of the knowledge base in MongoDB Atlas.

" + } + }, + "MongoDbAtlasDatabaseName": { + "base": null, + "refs": { + "MongoDbAtlasConfiguration$databaseName": "

The database name in your MongoDB Atlas cluster for your knowledge base.

" + } + }, + "MongoDbAtlasEndpoint": { + "base": null, + "refs": { + "MongoDbAtlasConfiguration$endpoint": "

The endpoint URL of your MongoDB Atlas cluster for your knowledge base.

" + } + }, + "MongoDbAtlasEndpointServiceName": { + "base": null, + "refs": { + "MongoDbAtlasConfiguration$endpointServiceName": "

The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.

" + } + }, + "MongoDbAtlasFieldMapping": { + "base": "

Contains the names of the fields to which to map information about the vector store.

", + "refs": { + "MongoDbAtlasConfiguration$fieldMapping": "

Contains the names of the fields to which to map information about the vector store.

" + } + }, + "MongoDbAtlasIndexName": { + "base": null, + "refs": { + "MongoDbAtlasConfiguration$vectorIndexName": "

The name of the MongoDB Atlas vector search index.

" + } + }, "Name": { "base": null, "refs": { @@ -1461,6 +1506,7 @@ "SecretArn": { "base": null, "refs": { + "MongoDbAtlasConfiguration$credentialsSecretArn": "

The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials for your MongoDB Atlas cluster.

", "PineconeConfiguration$credentialsSecretArn": "

The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Pinecone API key.

", "RdsConfiguration$credentialsSecretArn": "

The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon RDS database.

", "RedisEnterpriseCloudConfiguration$credentialsSecretArn": "

The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Redis Enterprise Cloud database.

" diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 339affea4ce..298ff22756d 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -197,7 +197,7 @@ "DeleteTransitGatewayPolicyTable": "

Deletes the specified transit gateway policy table.

", "DeleteTransitGatewayPrefixListReference": "

Deletes a reference (route) to a prefix list in a specified transit gateway route table.

", "DeleteTransitGatewayRoute": "

Deletes the specified route from the specified transit gateway route table.

", - "DeleteTransitGatewayRouteTable": "

Deletes the specified transit gateway route table. You must disassociate the route table from any transit gateway route tables before you can delete it.

", + "DeleteTransitGatewayRouteTable": "

Deletes the specified transit gateway route table. If there are any route tables associated with the transit gateway route table, you must first run DisassociateRouteTable before you can delete the transit gateway route table. This removes any route tables associated with the transit gateway route table.

", "DeleteTransitGatewayRouteTableAnnouncement": "

Advertises to the transit gateway that a transit gateway route table is deleted.

", "DeleteTransitGatewayVpcAttachment": "

Deletes the specified VPC attachment.

", "DeleteVerifiedAccessEndpoint": "

Delete an Amazon Web Services Verified Access endpoint.

", @@ -2890,7 +2890,7 @@ "VerifiedAccessSseSpecificationRequest$CustomerManagedKeyEnabled": "

Enable or disable the use of customer managed KMS keys for server side encryption.

Valid values: True | False

", "VerifiedAccessSseSpecificationResponse$CustomerManagedKeyEnabled": "

Indicates whether customer managed KMS keys are in use for server side encryption.

Valid values: True | False

", "Volume$Encrypted": "

Indicates whether the volume is encrypted.

", - "Volume$FastRestored": "

Indicates whether the volume was created using fast snapshot restore.

", + "Volume$FastRestored": "

This parameter is not returned by CreateVolume.

Indicates whether the volume was created using fast snapshot restore.

", "Volume$MultiAttachEnabled": "

Indicates whether Amazon EBS Multi-Attach is enabled.

", "VolumeAttachment$DeleteOnTermination": "

Indicates whether the EBS volume is deleted on instance termination.

", "VolumeModification$TargetMultiAttachEnabled": "

The target setting for Amazon EBS Multi-Attach.

", @@ -9547,7 +9547,7 @@ "DescribeTransitGatewayRouteTableAnnouncementsRequest$Filters": "

The filters associated with the transit gateway policy table.

", "DescribeTransitGatewayRouteTablesRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTransitGatewayVpcAttachmentsRequest$Filters": "

One or more filters. The possible values are:

", - "DescribeTransitGatewaysRequest$Filters": "

One or more filters. The possible values are:

", + "DescribeTransitGatewaysRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTrunkInterfaceAssociationsRequest$Filters": "

One or more filters.

", "DescribeVerifiedAccessEndpointsRequest$Filters": "

One or more filters. Filter names and values are case-sensitive.

", "DescribeVerifiedAccessGroupsRequest$Filters": "

One or more filters. Filter names and values are case-sensitive.

", @@ -12274,7 +12274,7 @@ "LaunchTemplateInstanceNetworkInterfaceSpecification$NetworkCardIndex": "

The index of the network card.

", "LaunchTemplateInstanceNetworkInterfaceSpecification$Ipv4PrefixCount": "

The number of IPv4 prefixes that Amazon Web Services automatically assigned to the network interface.

", "LaunchTemplateInstanceNetworkInterfaceSpecification$Ipv6PrefixCount": "

The number of IPv6 prefixes that Amazon Web Services automatically assigned to the network interface.

", - "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$DeviceIndex": "

The device index for the network interface attachment.

", + "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$DeviceIndex": "

The device index for the network interface attachment. Each network interface requires a device index. If you create a launch template that includes secondary network interfaces but not a primary network interface, then you must add a primary network interface as a launch parameter when you launch an instance from the template.

", "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$Ipv6AddressCount": "

The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.

", "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$SecondaryPrivateIpAddressCount": "

The number of secondary private IPv4 addresses to assign to a network interface.

", "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$NetworkCardIndex": "

The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.

", @@ -18323,7 +18323,7 @@ "RestoreSnapshotFromRecycleBinResult$SseType": "

Reserved for future use.

", "Snapshot$SseType": "

Reserved for future use.

", "SnapshotInfo$SseType": "

Reserved for future use.

", - "Volume$SseType": "

Reserved for future use.

" + "Volume$SseType": "

This parameter is not returned by CreateVolume.

Reserved for future use.

" } }, "ScheduledInstance": { @@ -23815,7 +23815,7 @@ "VolumeAttachmentList": { "base": null, "refs": { - "Volume$Attachments": "

Information about the volume attachments.

" + "Volume$Attachments": "

This parameter is not returned by CreateVolume.

Information about the volume attachments.

" } }, "VolumeAttachmentState": { diff --git a/models/apis/personalize-runtime/2018-05-22/api-2.json b/models/apis/personalize-runtime/2018-05-22/api-2.json index bbf06e017c3..982daa74002 100644 --- a/models/apis/personalize-runtime/2018-05-22/api-2.json +++ b/models/apis/personalize-runtime/2018-05-22/api-2.json @@ -5,6 +5,7 @@ "endpointPrefix":"personalize-runtime", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"Amazon Personalize Runtime", "serviceId":"Personalize Runtime", "signatureVersion":"v4", @@ -205,7 +206,8 @@ "Metadata":{ "type":"map", "key":{"shape":"ColumnName"}, - "value":{"shape":"ColumnValue"} + "value":{"shape":"ColumnValue"}, + "sensitive":true }, "MetadataColumns":{ "type":"map", @@ -241,7 +243,8 @@ "itemId":{"shape":"ItemID"}, "score":{"shape":"Score"}, "promotionName":{"shape":"Name"}, - "metadata":{"shape":"Metadata"} + "metadata":{"shape":"Metadata"}, + "reason":{"shape":"ReasonList"} } }, "Promotion":{ @@ -258,6 +261,14 @@ "member":{"shape":"Promotion"}, "max":1 }, + "Reason":{ + "type":"string", + "max":256 + }, + "ReasonList":{ + "type":"list", + "member":{"shape":"Reason"} + }, "RecommendationID":{"type":"string"}, "ResourceNotFoundException":{ "type":"structure", diff --git a/models/apis/personalize-runtime/2018-05-22/docs-2.json b/models/apis/personalize-runtime/2018-05-22/docs-2.json index 34e8b6bda72..f06111d3c12 100644 --- a/models/apis/personalize-runtime/2018-05-22/docs-2.json +++ b/models/apis/personalize-runtime/2018-05-22/docs-2.json @@ -217,6 +217,18 @@ "GetRecommendationsRequest$promotions": "

The promotions to apply to the recommendation request. A promotion defines additional business rules that apply to a configurable subset of recommended items.

" } }, + "Reason": { + "base": null, + "refs": { + "ReasonList$member": null + } + }, + "ReasonList": { + "base": null, + "refs": { + "PredictedItem$reason": "

If you use User-Personalization-v2, a list of reasons for why the item was included in recommendations. Possible reasons include the following:

" + } + }, "RecommendationID": { "base": null, "refs": { diff --git a/models/apis/securityhub/2018-10-26/api-2.json b/models/apis/securityhub/2018-10-26/api-2.json index 57277443043..b4e35d1849d 100644 --- a/models/apis/securityhub/2018-10-26/api-2.json +++ b/models/apis/securityhub/2018-10-26/api-2.json @@ -1330,7 +1330,9 @@ }, "AccountDetailsList":{ "type":"list", - "member":{"shape":"AccountDetails"} + "member":{"shape":"AccountDetails"}, + "max":50, + "min":1 }, "AccountId":{"type":"string"}, "AccountIdList":{ diff --git a/models/apis/securityhub/2018-10-26/docs-2.json b/models/apis/securityhub/2018-10-26/docs-2.json index 37c9bf73ba9..f37f62c152b 100644 --- a/models/apis/securityhub/2018-10-26/docs-2.json +++ b/models/apis/securityhub/2018-10-26/docs-2.json @@ -75,7 +75,7 @@ "UpdateActionTarget": "

Updates the name and description of a custom action target in Security Hub.

", "UpdateConfigurationPolicy": "

Updates a configuration policy. Only the Security Hub delegated administrator can invoke this operation from the home Region.

", "UpdateFindingAggregator": "

Updates the finding aggregation configuration. Used to update the Region linking mode and the list of included or excluded Regions. You cannot use UpdateFindingAggregator to change the aggregation Region.

You must run UpdateFindingAggregator from the current aggregation Region.

", - "UpdateFindings": "

UpdateFindings is deprecated. Instead of UpdateFindings, use BatchUpdateFindings.

Updates the Note and RecordState of the Security Hub-aggregated findings that the filter attributes specify. Any member account that can view the finding also sees the update to the finding.

", + "UpdateFindings": "

UpdateFindings is a deprecated operation. Instead of UpdateFindings, use the BatchUpdateFindings operation.

Updates the Note and RecordState of the Security Hub-aggregated findings that the filter attributes specify. Any member account that can view the finding also sees the update to the finding.

Finding updates made with UpdateFindings might not be persisted if the same finding is later updated by the finding provider through the BatchImportFindings operation.

", "UpdateInsight": "

Updates the Security Hub insight identified by the specified insight ARN.

", "UpdateOrganizationConfiguration": "

Updates the configuration of your organization in Security Hub. Only the Security Hub administrator account can invoke this operation.

", "UpdateSecurityControl": "

Updates the properties of a security control.

", @@ -7949,11 +7949,11 @@ "StandardsSubscription$StandardsArn": "

The ARN of a standard.

", "StandardsSubscriptionArns$member": null, "StandardsSubscriptionRequest$StandardsArn": "

The ARN of the standard that you want to enable. To view the list of available standards and their ARNs, use the DescribeStandards operation.

", - "StartConfigurationPolicyAssociationRequest$ConfigurationPolicyIdentifier": "

The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.

", + "StartConfigurationPolicyAssociationRequest$ConfigurationPolicyIdentifier": "

The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a configuration policy, or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration.

", "StartConfigurationPolicyAssociationResponse$ConfigurationPolicyId": "

The UUID of the configuration policy.

", "StartConfigurationPolicyAssociationResponse$TargetId": "

The identifier of the target account, organizational unit, or the organization root with which the configuration is associated.

", "StartConfigurationPolicyAssociationResponse$AssociationStatusMessage": "

An explanation for a FAILED value for AssociationStatus.

", - "StartConfigurationPolicyDisassociationRequest$ConfigurationPolicyIdentifier": "

The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.

", + "StartConfigurationPolicyDisassociationRequest$ConfigurationPolicyIdentifier": "

The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a configuration policy, or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration.

", "StatelessCustomPublishMetricActionDimension$Value": "

The value to use for the custom metric dimension.

", "StatusReason$ReasonCode": "

A code that represents a reason for the control status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.

", "StatusReason$Description": "

The corresponding description for the status reason code.

", diff --git a/models/apis/sesv2/2019-09-27/api-2.json b/models/apis/sesv2/2019-09-27/api-2.json index 5fd32760c49..e6418dcbede 100644 --- a/models/apis/sesv2/2019-09-27/api-2.json +++ b/models/apis/sesv2/2019-09-27/api-2.json @@ -5,6 +5,7 @@ "endpointPrefix":"email", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceAbbreviation":"Amazon SES V2", "serviceFullName":"Amazon Simple Email Service", "serviceId":"SESv2", @@ -700,8 +701,8 @@ "ListContacts":{ "name":"ListContacts", "http":{ - "method":"GET", - "requestUri":"/v2/email/contact-lists/{ContactListName}/contacts" + "method":"POST", + "requestUri":"/v2/email/contact-lists/{ContactListName}/contacts/list" }, "input":{"shape":"ListContactsRequest"}, "output":{"shape":"ListContactsResponse"}, @@ -807,8 +808,8 @@ "ListImportJobs":{ "name":"ListImportJobs", "http":{ - "method":"GET", - "requestUri":"/v2/email/import-jobs" + "method":"POST", + "requestUri":"/v2/email/import-jobs/list" }, "input":{"shape":"ListImportJobsRequest"}, "output":{"shape":"ListImportJobsResponse"}, @@ -3271,16 +3272,8 @@ "locationName":"ContactListName" }, "Filter":{"shape":"ListContactsFilter"}, - "PageSize":{ - "shape":"MaxItems", - "location":"querystring", - "locationName":"PageSize" - }, - "NextToken":{ - "shape":"NextToken", - "location":"querystring", - "locationName":"NextToken" - } + "PageSize":{"shape":"MaxItems"}, + "NextToken":{"shape":"NextToken"} } }, "ListContactsResponse":{ @@ -3464,16 +3457,8 @@ "type":"structure", "members":{ "ImportDestinationType":{"shape":"ImportDestinationType"}, - "NextToken":{ - "shape":"NextToken", - "location":"querystring", - "locationName":"NextToken" - }, - "PageSize":{ - "shape":"MaxItems", - "location":"querystring", - "locationName":"PageSize" - } + "NextToken":{"shape":"NextToken"}, + "PageSize":{"shape":"MaxItems"} } }, "ListImportJobsResponse":{ diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 1081e9296cf..90b0b645fd6 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -2640,6 +2640,7 @@ "bedrock" : { "endpoints" : { "ap-northeast-1" : { }, + "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "bedrock-ap-northeast-1" : { @@ -2648,6 +2649,12 @@ }, "hostname" : "bedrock.ap-northeast-1.amazonaws.com" }, + "bedrock-ap-south-1" : { + "credentialScope" : { + "region" : "ap-south-1" + }, + "hostname" : "bedrock.ap-south-1.amazonaws.com" + }, "bedrock-ap-southeast-1" : { "credentialScope" : { "region" : "ap-southeast-1" @@ -2666,6 +2673,12 @@ }, "hostname" : "bedrock.eu-central-1.amazonaws.com" }, + "bedrock-eu-west-1" : { + "credentialScope" : { + "region" : "eu-west-1" + }, + "hostname" : "bedrock.eu-west-1.amazonaws.com" + }, "bedrock-eu-west-3" : { "credentialScope" : { "region" : "eu-west-3" @@ -2690,6 +2703,12 @@ }, "hostname" : "bedrock-runtime.ap-northeast-1.amazonaws.com" }, + "bedrock-runtime-ap-south-1" : { + "credentialScope" : { + "region" : "ap-south-1" + }, + "hostname" : "bedrock-runtime.ap-south-1.amazonaws.com" + }, "bedrock-runtime-ap-southeast-1" : { "credentialScope" : { "region" : "ap-southeast-1" @@ -2708,6 +2727,12 @@ }, "hostname" : "bedrock-runtime.eu-central-1.amazonaws.com" }, + "bedrock-runtime-eu-west-1" : { + "credentialScope" : { + "region" : "eu-west-1" + }, + "hostname" : "bedrock-runtime.eu-west-1.amazonaws.com" + }, "bedrock-runtime-eu-west-3" : { "credentialScope" : { "region" : "eu-west-3" @@ -2751,6 +2776,7 @@ "hostname" : "bedrock.us-west-2.amazonaws.com" }, "eu-central-1" : { }, + "eu-west-1" : { }, "eu-west-3" : { }, "us-east-1" : { }, "us-west-2" : { } @@ -20086,6 +20112,16 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "hostname" : "wafv2.ca-west-1.amazonaws.com", + "variants" : [ { + "hostname" : "wafv2-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { "credentialScope" : { "region" : "eu-central-1" @@ -20250,6 +20286,13 @@ "deprecated" : true, "hostname" : "wafv2-fips.ca-central-1.amazonaws.com" }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "wafv2-fips.ca-west-1.amazonaws.com" + }, "fips-eu-central-1" : { "credentialScope" : { "region" : "eu-central-1" diff --git a/service/bedrockagent/api.go b/service/bedrockagent/api.go index 0b5465f15fe..f8b5d486fe1 100644 --- a/service/bedrockagent/api.go +++ b/service/bedrockagent/api.go @@ -6729,7 +6729,7 @@ type CreateDataSourceInput struct { // see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" min:"33" type:"string" idempotencyToken:"true"` - // The deletion policy for the requested data source + // The data deletion policy assigned to the data source. DataDeletionPolicy *string `locationName:"dataDeletionPolicy" type:"string" enum:"DataDeletionPolicy"` // Contains metadata about where the data source is stored. @@ -7078,7 +7078,7 @@ type DataSource struct { // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"` - // The deletion policy for the data source. + // The data deletion policy for a data source. DataDeletionPolicy *string `locationName:"dataDeletionPolicy" type:"string" enum:"DataDeletionPolicy"` // Contains details about how the data source is stored. @@ -7094,7 +7094,7 @@ type DataSource struct { // The description of the data source. Description *string `locationName:"description" min:"1" type:"string"` - // The details of the failure reasons related to the data source. + // The detailed reasons on the failure to delete a data source. FailureReasons []*string `locationName:"failureReasons" type:"list"` // The unique identifier of the knowledge base to which the data source belongs. @@ -11211,6 +11211,223 @@ func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForRe return s } +// Contains details about the storage configuration of the knowledge base in +// MongoDB Atlas. +type MongoDbAtlasConfiguration struct { + _ struct{} `type:"structure"` + + // The collection name of the knowledge base in MongoDB Atlas. + // + // CollectionName is a required field + CollectionName *string `locationName:"collectionName" type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of the secret that you created in Secrets + // Manager that contains user credentials for your MongoDB Atlas cluster. + // + // CredentialsSecretArn is a required field + CredentialsSecretArn *string `locationName:"credentialsSecretArn" type:"string" required:"true"` + + // The database name in your MongoDB Atlas cluster for your knowledge base. + // + // DatabaseName is a required field + DatabaseName *string `locationName:"databaseName" type:"string" required:"true"` + + // The endpoint URL of your MongoDB Atlas cluster for your knowledge base. + // + // Endpoint is a required field + Endpoint *string `locationName:"endpoint" type:"string" required:"true"` + + // The name of the VPC endpoint service in your account that is connected to + // your MongoDB Atlas cluster. + EndpointServiceName *string `locationName:"endpointServiceName" min:"1" type:"string"` + + // Contains the names of the fields to which to map information about the vector + // store. + // + // FieldMapping is a required field + FieldMapping *MongoDbAtlasFieldMapping `locationName:"fieldMapping" type:"structure" required:"true"` + + // The name of the MongoDB Atlas vector search index. + // + // VectorIndexName is a required field + VectorIndexName *string `locationName:"vectorIndexName" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MongoDbAtlasConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MongoDbAtlasConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MongoDbAtlasConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MongoDbAtlasConfiguration"} + if s.CollectionName == nil { + invalidParams.Add(request.NewErrParamRequired("CollectionName")) + } + if s.CredentialsSecretArn == nil { + invalidParams.Add(request.NewErrParamRequired("CredentialsSecretArn")) + } + if s.DatabaseName == nil { + invalidParams.Add(request.NewErrParamRequired("DatabaseName")) + } + if s.Endpoint == nil { + invalidParams.Add(request.NewErrParamRequired("Endpoint")) + } + if s.EndpointServiceName != nil && len(*s.EndpointServiceName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EndpointServiceName", 1)) + } + if s.FieldMapping == nil { + invalidParams.Add(request.NewErrParamRequired("FieldMapping")) + } + if s.VectorIndexName == nil { + invalidParams.Add(request.NewErrParamRequired("VectorIndexName")) + } + if s.FieldMapping != nil { + if err := s.FieldMapping.Validate(); err != nil { + invalidParams.AddNested("FieldMapping", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCollectionName sets the CollectionName field's value. +func (s *MongoDbAtlasConfiguration) SetCollectionName(v string) *MongoDbAtlasConfiguration { + s.CollectionName = &v + return s +} + +// SetCredentialsSecretArn sets the CredentialsSecretArn field's value. +func (s *MongoDbAtlasConfiguration) SetCredentialsSecretArn(v string) *MongoDbAtlasConfiguration { + s.CredentialsSecretArn = &v + return s +} + +// SetDatabaseName sets the DatabaseName field's value. +func (s *MongoDbAtlasConfiguration) SetDatabaseName(v string) *MongoDbAtlasConfiguration { + s.DatabaseName = &v + return s +} + +// SetEndpoint sets the Endpoint field's value. +func (s *MongoDbAtlasConfiguration) SetEndpoint(v string) *MongoDbAtlasConfiguration { + s.Endpoint = &v + return s +} + +// SetEndpointServiceName sets the EndpointServiceName field's value. +func (s *MongoDbAtlasConfiguration) SetEndpointServiceName(v string) *MongoDbAtlasConfiguration { + s.EndpointServiceName = &v + return s +} + +// SetFieldMapping sets the FieldMapping field's value. +func (s *MongoDbAtlasConfiguration) SetFieldMapping(v *MongoDbAtlasFieldMapping) *MongoDbAtlasConfiguration { + s.FieldMapping = v + return s +} + +// SetVectorIndexName sets the VectorIndexName field's value. +func (s *MongoDbAtlasConfiguration) SetVectorIndexName(v string) *MongoDbAtlasConfiguration { + s.VectorIndexName = &v + return s +} + +// Contains the names of the fields to which to map information about the vector +// store. +type MongoDbAtlasFieldMapping struct { + _ struct{} `type:"structure"` + + // The name of the field in which Amazon Bedrock stores metadata about the vector + // store. + // + // MetadataField is a required field + MetadataField *string `locationName:"metadataField" type:"string" required:"true"` + + // The name of the field in which Amazon Bedrock stores the raw text from your + // data. The text is split according to the chunking strategy you choose. + // + // TextField is a required field + TextField *string `locationName:"textField" type:"string" required:"true"` + + // The name of the field in which Amazon Bedrock stores the vector embeddings + // for your data sources. + // + // VectorField is a required field + VectorField *string `locationName:"vectorField" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MongoDbAtlasFieldMapping) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MongoDbAtlasFieldMapping) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MongoDbAtlasFieldMapping) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MongoDbAtlasFieldMapping"} + if s.MetadataField == nil { + invalidParams.Add(request.NewErrParamRequired("MetadataField")) + } + if s.TextField == nil { + invalidParams.Add(request.NewErrParamRequired("TextField")) + } + if s.VectorField == nil { + invalidParams.Add(request.NewErrParamRequired("VectorField")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMetadataField sets the MetadataField field's value. +func (s *MongoDbAtlasFieldMapping) SetMetadataField(v string) *MongoDbAtlasFieldMapping { + s.MetadataField = &v + return s +} + +// SetTextField sets the TextField field's value. +func (s *MongoDbAtlasFieldMapping) SetTextField(v string) *MongoDbAtlasFieldMapping { + s.TextField = &v + return s +} + +// SetVectorField sets the VectorField field's value. +func (s *MongoDbAtlasFieldMapping) SetVectorField(v string) *MongoDbAtlasFieldMapping { + s.VectorField = &v + return s +} + // Contains details about the storage configuration of the knowledge base in // Amazon OpenSearch Service. For more information, see Create a vector index // in Amazon OpenSearch Service (https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-oss.html). @@ -12365,7 +12582,7 @@ type S3DataSourceConfiguration struct { // BucketArn is a required field BucketArn *string `locationName:"bucketArn" min:"1" type:"string" required:"true"` - // The account ID for the owner of the S3 bucket. + // The bucket account owner ID for the S3 bucket. BucketOwnerAccountId *string `locationName:"bucketOwnerAccountId" min:"12" type:"string"` // A list of S3 prefixes that define the object containing the data sources. @@ -12727,6 +12944,9 @@ func (s *StartIngestionJobOutput) SetIngestionJob(v *IngestionJob) *StartIngesti type StorageConfiguration struct { _ struct{} `type:"structure"` + // Contains the storage configuration of the knowledge base in MongoDB Atlas. + MongoDbAtlasConfiguration *MongoDbAtlasConfiguration `locationName:"mongoDbAtlasConfiguration" type:"structure"` + // Contains the storage configuration of the knowledge base in Amazon OpenSearch // Service. OpensearchServerlessConfiguration *OpenSearchServerlessConfiguration `locationName:"opensearchServerlessConfiguration" type:"structure"` @@ -12773,6 +12993,11 @@ func (s *StorageConfiguration) Validate() error { if s.Type == nil { invalidParams.Add(request.NewErrParamRequired("Type")) } + if s.MongoDbAtlasConfiguration != nil { + if err := s.MongoDbAtlasConfiguration.Validate(); err != nil { + invalidParams.AddNested("MongoDbAtlasConfiguration", err.(request.ErrInvalidParams)) + } + } if s.OpensearchServerlessConfiguration != nil { if err := s.OpensearchServerlessConfiguration.Validate(); err != nil { invalidParams.AddNested("OpensearchServerlessConfiguration", err.(request.ErrInvalidParams)) @@ -12800,6 +13025,12 @@ func (s *StorageConfiguration) Validate() error { return nil } +// SetMongoDbAtlasConfiguration sets the MongoDbAtlasConfiguration field's value. +func (s *StorageConfiguration) SetMongoDbAtlasConfiguration(v *MongoDbAtlasConfiguration) *StorageConfiguration { + s.MongoDbAtlasConfiguration = v + return s +} + // SetOpensearchServerlessConfiguration sets the OpensearchServerlessConfiguration field's value. func (s *StorageConfiguration) SetOpensearchServerlessConfiguration(v *OpenSearchServerlessConfiguration) *StorageConfiguration { s.OpensearchServerlessConfiguration = v @@ -13773,7 +14004,7 @@ func (s *UpdateAgentOutput) SetAgent(v *Agent) *UpdateAgentOutput { type UpdateDataSourceInput struct { _ struct{} `type:"structure"` - // The data deletion policy of the updated data source. + // The data deletion policy assigned to the data source. DataDeletionPolicy *string `locationName:"dataDeletionPolicy" type:"string" enum:"DataDeletionPolicy"` // Contains details about the storage configuration of the data source. @@ -14642,6 +14873,9 @@ const ( // KnowledgeBaseStorageTypeRds is a KnowledgeBaseStorageType enum value KnowledgeBaseStorageTypeRds = "RDS" + + // KnowledgeBaseStorageTypeMongoDbAtlas is a KnowledgeBaseStorageType enum value + KnowledgeBaseStorageTypeMongoDbAtlas = "MONGO_DB_ATLAS" ) // KnowledgeBaseStorageType_Values returns all elements of the KnowledgeBaseStorageType enum @@ -14651,6 +14885,7 @@ func KnowledgeBaseStorageType_Values() []string { KnowledgeBaseStorageTypePinecone, KnowledgeBaseStorageTypeRedisEnterpriseCloud, KnowledgeBaseStorageTypeRds, + KnowledgeBaseStorageTypeMongoDbAtlas, } } diff --git a/service/ec2/api.go b/service/ec2/api.go index 740475f82ea..220a7a49dbb 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -15573,9 +15573,10 @@ func (c *EC2) DeleteTransitGatewayRouteTableRequest(input *DeleteTransitGatewayR // DeleteTransitGatewayRouteTable API operation for Amazon Elastic Compute Cloud. // -// Deletes the specified transit gateway route table. You must disassociate -// the route table from any transit gateway route tables before you can delete -// it. +// Deletes the specified transit gateway route table. If there are any route +// tables associated with the transit gateway route table, you must first run +// DisassociateRouteTable before you can delete the transit gateway route table. +// This removes any route tables associated with the transit gateway route table. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -109842,6 +109843,12 @@ type DescribeTransitGatewaysInput struct { // | modifying | pending). // // * transit-gateway-id - The ID of the transit gateway. + // + // * tag-key - The key/value combination of a tag assigned to the resource. + // Use the tag key in the filter name and the tag value as the filter value. + // For example, to find all resources that have a tag with the key Owner + // and the value TeamA, specify tag:Owner for the filter name and TeamA for + // the filter value. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The maximum number of results to return with a single call. To retrieve the @@ -144539,7 +144546,11 @@ type LaunchTemplateInstanceNetworkInterfaceSpecificationRequest struct { // A description for the network interface. Description *string `type:"string"` - // The device index for the network interface attachment. + // The device index for the network interface attachment. Each network interface + // requires a device index. If you create a launch template that includes secondary + // network interfaces but not a primary network interface, then you must add + // a primary network interface as a launch parameter when you launch an instance + // from the template. DeviceIndex *int64 `type:"integer"` // Configure ENA Express settings for your launch template. @@ -188065,6 +188076,9 @@ func (s *VgwTelemetry) SetStatusMessage(v string) *VgwTelemetry { type Volume struct { _ struct{} `type:"structure"` + // + // This parameter is not returned by CreateVolume. + // // Information about the volume attachments. Attachments []*VolumeAttachment `locationName:"attachmentSet" locationNameList:"item" type:"list"` @@ -188077,6 +188091,9 @@ type Volume struct { // Indicates whether the volume is encrypted. Encrypted *bool `locationName:"encrypted" type:"boolean"` + // + // This parameter is not returned by CreateVolume. + // // Indicates whether the volume was created using fast snapshot restore. FastRestored *bool `locationName:"fastRestored" type:"boolean"` @@ -188102,6 +188119,9 @@ type Volume struct { // The snapshot from which the volume was created, if applicable. SnapshotId *string `locationName:"snapshotId" type:"string"` + // + // This parameter is not returned by CreateVolume. + // // Reserved for future use. SseType *string `locationName:"sseType" type:"string" enum:"SSEType"` diff --git a/service/personalizeruntime/api.go b/service/personalizeruntime/api.go index 73c2133bcc5..a8ccddc4092 100644 --- a/service/personalizeruntime/api.go +++ b/service/personalizeruntime/api.go @@ -910,11 +910,34 @@ type PredictedItem struct { ItemId *string `locationName:"itemId" type:"string"` // Metadata about the item from your Items dataset. - Metadata map[string]*string `locationName:"metadata" type:"map"` + // + // Metadata is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by PredictedItem's + // String and GoString methods. + Metadata map[string]*string `locationName:"metadata" type:"map" sensitive:"true"` // The name of the promotion that included the predicted item. PromotionName *string `locationName:"promotionName" min:"1" type:"string"` + // If you use User-Personalization-v2, a list of reasons for why the item was + // included in recommendations. Possible reasons include the following: + // + // * Promoted item - Indicates the item was included as part of a promotion + // that you applied in your recommendation request. + // + // * Exploration - Indicates the item was included with exploration. With + // exploration, recommendations include items with less interactions data + // or relevance for the user. For more information about exploration, see + // Exploration (https://docs.aws.amazon.com/personalize/latest/dg/use-case-recipe-features.html#about-exploration). + // + // * Popular item - Indicates the item was included as a placeholder popular + // item. If you use a filter, depending on how many recommendations the filter + // removes, Amazon Personalize might add placeholder items to meet the numResults + // for your recommendation request. These items are popular items, based + // on interactions data, that satisfy your filter criteria. They don't have + // a relevance score for the user. + Reason []*string `locationName:"reason" type:"list"` + // A numeric representation of the model's certainty that the item will be the // next user selection. For more information on scoring logic, see how-scores-work. Score *float64 `locationName:"score" type:"double"` @@ -956,6 +979,12 @@ func (s *PredictedItem) SetPromotionName(v string) *PredictedItem { return s } +// SetReason sets the Reason field's value. +func (s *PredictedItem) SetReason(v []*string) *PredictedItem { + s.Reason = v + return s +} + // SetScore sets the Score field's value. func (s *PredictedItem) SetScore(v float64) *PredictedItem { s.Score = &v diff --git a/service/securityhub/api.go b/service/securityhub/api.go index e7105160ecd..55f2f18c88b 100644 --- a/service/securityhub/api.go +++ b/service/securityhub/api.go @@ -8234,12 +8234,17 @@ func (c *SecurityHub) UpdateFindingsRequest(input *UpdateFindingsInput) (req *re // UpdateFindings API operation for AWS SecurityHub. // -// UpdateFindings is deprecated. Instead of UpdateFindings, use BatchUpdateFindings. +// UpdateFindings is a deprecated operation. Instead of UpdateFindings, use +// the BatchUpdateFindings operation. // // Updates the Note and RecordState of the Security Hub-aggregated findings // that the filter attributes specify. Any member account that can view the // finding also sees the update to the finding. // +// Finding updates made with UpdateFindings might not be persisted if the same +// finding is later updated by the finding provider through the BatchImportFindings +// operation. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -50720,7 +50725,7 @@ type CreateMembersInput struct { // address. // // AccountDetails is a required field - AccountDetails []*AccountDetails `type:"list" required:"true"` + AccountDetails []*AccountDetails `min:"1" type:"list" required:"true"` } // String returns the string representation. @@ -50747,6 +50752,9 @@ func (s *CreateMembersInput) Validate() error { if s.AccountDetails == nil { invalidParams.Add(request.NewErrParamRequired("AccountDetails")) } + if s.AccountDetails != nil && len(s.AccountDetails) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AccountDetails", 1)) + } if s.AccountDetails != nil { for i, v := range s.AccountDetails { if v == nil { @@ -63740,8 +63748,9 @@ func (s *StandardsSubscriptionRequest) SetStandardsInput(v map[string]*string) * type StartConfigurationPolicyAssociationInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) or universally unique identifier (UUID) of - // the configuration policy. + // The Amazon Resource Name (ARN) of a configuration policy, the universally + // unique identifier (UUID) of a configuration policy, or a value of SELF_MANAGED_SECURITY_HUB + // for a self-managed configuration. // // ConfigurationPolicyIdentifier is a required field ConfigurationPolicyIdentifier *string `type:"string" required:"true"` @@ -63893,8 +63902,9 @@ func (s *StartConfigurationPolicyAssociationOutput) SetUpdatedAt(v time.Time) *S type StartConfigurationPolicyDisassociationInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) or universally unique identifier (UUID) of - // the configuration policy. + // The Amazon Resource Name (ARN) of a configuration policy, the universally + // unique identifier (UUID) of a configuration policy, or a value of SELF_MANAGED_SECURITY_HUB + // for a self-managed configuration. // // ConfigurationPolicyIdentifier is a required field ConfigurationPolicyIdentifier *string `type:"string" required:"true"` diff --git a/service/sesv2/api.go b/service/sesv2/api.go index dee008d9702..61284d15c9b 100644 --- a/service/sesv2/api.go +++ b/service/sesv2/api.go @@ -4488,8 +4488,8 @@ const opListContacts = "ListContacts" func (c *SESV2) ListContactsRequest(input *ListContactsInput) (req *request.Request, output *ListContactsOutput) { op := &request.Operation{ Name: opListContacts, - HTTPMethod: "GET", - HTTPPath: "/v2/email/contact-lists/{ContactListName}/contacts", + HTTPMethod: "POST", + HTTPPath: "/v2/email/contact-lists/{ContactListName}/contacts/list", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, @@ -5629,8 +5629,8 @@ const opListImportJobs = "ListImportJobs" func (c *SESV2) ListImportJobsRequest(input *ListImportJobsInput) (req *request.Request, output *ListImportJobsOutput) { op := &request.Operation{ Name: opListImportJobs, - HTTPMethod: "GET", - HTTPPath: "/v2/email/import-jobs", + HTTPMethod: "POST", + HTTPPath: "/v2/email/import-jobs/list", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, @@ -18466,14 +18466,14 @@ type ListContactsInput struct { // to be listed. Use the token provided in the Response to use in the subsequent // call to ListContacts with the same parameters to retrieve the next page of // contacts. - NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` + NextToken *string `type:"string"` // The number of contacts that may be returned at once, which is dependent on // if there are more or less contacts than the value of the PageSize. Use this // parameter to paginate results. If additional contacts exist beyond the specified // limit, the NextToken element is sent in the response. Use the NextToken value // in subsequent requests to retrieve additional contacts. - PageSize *int64 `location:"querystring" locationName:"PageSize" type:"integer"` + PageSize *int64 `type:"integer"` } // String returns the string representation. @@ -19313,13 +19313,13 @@ type ListImportJobsInput struct { // A string token indicating that there might be additional import jobs available // to be listed. Copy this token to a subsequent call to ListImportJobs with // the same parameters to retrieve the next page of import jobs. - NextToken *string `location:"querystring" locationName:"NextToken" type:"string"` + NextToken *string `type:"string"` // Maximum number of import jobs to return at once. Use this parameter to paginate // results. If additional import jobs exist beyond the specified limit, the // NextToken element is sent in the response. Use the NextToken value in subsequent // requests to retrieve additional addresses. - PageSize *int64 `location:"querystring" locationName:"PageSize" type:"integer"` + PageSize *int64 `type:"integer"` } // String returns the string representation.