From 65417818b55d48c932b641a97833877c26d96bd3 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Tue, 19 Dec 2023 14:21:06 -0500 Subject: [PATCH] Release v1.49.6 (2023-12-19) (#5117) Release v1.49.6 (2023-12-19) === ### Service Client Updates * `service/appsync`: Updates service API and documentation * `service/chime-sdk-meetings`: Updates service API and documentation * `service/ec2`: Updates service API and documentation * Provision BYOIPv4 address ranges and advertise them by specifying the network border groups option in Los Angeles, Phoenix and Dallas AWS Local Zones. * `service/fsx`: Updates service API and documentation * `service/marketplace-catalog`: Updates service API and documentation * `service/rds`: Updates service API, documentation, waiters, paginators, and examples * RDS - The release adds two new APIs: DescribeDBRecommendations and ModifyDBRecommendation --- CHANGELOG.md | 13 + aws/endpoints/defaults.go | 12 + aws/version.go | 2 +- models/apis/appsync/2017-07-25/api-2.json | 32 +- models/apis/appsync/2017-07-25/docs-2.json | 24 + .../chime-sdk-meetings/2021-07-15/api-2.json | 44 +- .../chime-sdk-meetings/2021-07-15/docs-2.json | 76 +- .../2021-07-15/endpoint-rule-set-1.json | 40 +- models/apis/ec2/2016-11-15/api-2.json | 10 +- models/apis/ec2/2016-11-15/docs-2.json | 17 +- models/apis/fsx/2018-03-01/api-2.json | 7 +- models/apis/fsx/2018-03-01/docs-2.json | 13 +- .../marketplace-catalog/2018-09-17/api-2.json | 136 ++ .../2018-09-17/docs-2.json | 81 +- models/apis/rds/2014-10-31/api-2.json | 226 +++ models/apis/rds/2014-10-31/docs-2.json | 218 ++- models/apis/rds/2014-10-31/paginators-1.json | 6 + models/endpoints/endpoints.json | 4 + service/appsync/api.go | 145 ++ service/chimesdkmeetings/api.go | 339 +++- service/chimesdkmeetings/doc.go | 7 +- service/ec2/api.go | 151 +- service/fsx/api.go | 50 +- service/marketplacecatalog/api.go | 373 +++- .../marketplacecatalogiface/interface.go | 8 +- service/rds/api.go | 1525 +++++++++++++++++ service/rds/rdsiface/interface.go | 11 + 27 files changed, 3428 insertions(+), 142 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9479bb9b805..1fc9c38ec24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +Release v1.49.6 (2023-12-19) +=== + +### Service Client Updates +* `service/appsync`: Updates service API and documentation +* `service/chime-sdk-meetings`: Updates service API and documentation +* `service/ec2`: Updates service API and documentation + * Provision BYOIPv4 address ranges and advertise them by specifying the network border groups option in Los Angeles, Phoenix and Dallas AWS Local Zones. +* `service/fsx`: Updates service API and documentation +* `service/marketplace-catalog`: Updates service API and documentation +* `service/rds`: Updates service API, documentation, waiters, paginators, and examples + * RDS - The release adds two new APIs: DescribeDBRecommendations and ModifyDBRecommendation + Release v1.49.5 (2023-12-18) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 16de4d78eec..ecb0d1d507e 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -14845,6 +14845,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -19284,12 +19287,18 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -19308,6 +19317,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "sa-east-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 999d1cd572e..c6ac5c43abb 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.49.5" +const SDKVersion = "1.49.6" diff --git a/models/apis/appsync/2017-07-25/api-2.json b/models/apis/appsync/2017-07-25/api-2.json index 02d35db07a4..ed573660c06 100644 --- a/models/apis/appsync/2017-07-25/api-2.json +++ b/models/apis/appsync/2017-07-25/api-2.json @@ -1473,7 +1473,10 @@ "visibility":{"shape":"GraphQLApiVisibility"}, "apiType":{"shape":"GraphQLApiType"}, "mergedApiExecutionRoleArn":{"shape":"String"}, - "ownerContact":{"shape":"String"} + "ownerContact":{"shape":"String"}, + "introspectionConfig":{"shape":"GraphQLApiIntrospectionConfig"}, + "queryDepthLimit":{"shape":"QueryDepthLimit"}, + "resolverCountLimit":{"shape":"ResolverCountLimit"} } }, "CreateGraphqlApiResponse":{ @@ -2358,6 +2361,13 @@ "type":{"shape":"Type"} } }, + "GraphQLApiIntrospectionConfig":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, "GraphQLApiType":{ "type":"string", "enum":[ @@ -2401,7 +2411,10 @@ "apiType":{"shape":"GraphQLApiType"}, "mergedApiExecutionRoleArn":{"shape":"String"}, "owner":{"shape":"String"}, - "ownerContact":{"shape":"String"} + "ownerContact":{"shape":"String"}, + "introspectionConfig":{"shape":"GraphQLApiIntrospectionConfig"}, + "queryDepthLimit":{"shape":"QueryDepthLimit"}, + "resolverCountLimit":{"shape":"ResolverCountLimit"} } }, "GraphqlApis":{ @@ -2887,6 +2900,11 @@ "functions":{"shape":"FunctionsIds"} } }, + "QueryDepthLimit":{ + "type":"integer", + "max":75, + "min":0 + }, "RdsDataApiConfig":{ "type":"structure", "required":[ @@ -2956,6 +2974,11 @@ "code":{"shape":"Code"} } }, + "ResolverCountLimit":{ + "type":"integer", + "max":10000, + "min":0 + }, "ResolverKind":{ "type":"string", "enum":[ @@ -3386,7 +3409,10 @@ "xrayEnabled":{"shape":"Boolean"}, "lambdaAuthorizerConfig":{"shape":"LambdaAuthorizerConfig"}, "mergedApiExecutionRoleArn":{"shape":"String"}, - "ownerContact":{"shape":"String"} + "ownerContact":{"shape":"String"}, + "introspectionConfig":{"shape":"GraphQLApiIntrospectionConfig"}, + "queryDepthLimit":{"shape":"QueryDepthLimit"}, + "resolverCountLimit":{"shape":"ResolverCountLimit"} } }, "UpdateGraphqlApiResponse":{ diff --git a/models/apis/appsync/2017-07-25/docs-2.json b/models/apis/appsync/2017-07-25/docs-2.json index 7a7d35c7d78..266f335e9aa 100644 --- a/models/apis/appsync/2017-07-25/docs-2.json +++ b/models/apis/appsync/2017-07-25/docs-2.json @@ -939,6 +939,14 @@ "refs": { } }, + "GraphQLApiIntrospectionConfig": { + "base": null, + "refs": { + "CreateGraphqlApiRequest$introspectionConfig": "

Sets the value of the GraphQL API to enable (ENABLED) or disable (DISABLED) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled.

For more information about introspection, see GraphQL introspection.

", + "GraphqlApi$introspectionConfig": "

Sets the value of the GraphQL API to enable (ENABLED) or disable (DISABLED) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled.

For more information about introspection, see GraphQL introspection.

", + "UpdateGraphqlApiRequest$introspectionConfig": "

Sets the value of the GraphQL API to enable (ENABLED) or disable (DISABLED) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled.

For more information about introspection, see GraphQL introspection.

" + } + }, "GraphQLApiType": { "base": null, "refs": { @@ -1284,6 +1292,14 @@ "UpdateResolverRequest$pipelineConfig": "

The PipelineConfig.

" } }, + "QueryDepthLimit": { + "base": null, + "refs": { + "CreateGraphqlApiRequest$queryDepthLimit": "

The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is 0 (or unspecified), which indicates there's no depth limit. If you set a limit, it can be between 1 and 75 nested levels. This field will produce a limit error if the operation falls out of bounds.

Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.

", + "GraphqlApi$queryDepthLimit": "

The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is 0 (or unspecified), which indicates there's no depth limit. If you set a limit, it can be between 1 and 75 nested levels. This field will produce a limit error if the operation falls out of bounds.

Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.

", + "UpdateGraphqlApiRequest$queryDepthLimit": "

The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is 0 (or unspecified), which indicates there's no depth limit. If you set a limit, it can be between 1 and 75 nested levels. This field will produce a limit error if the operation falls out of bounds.

Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.

" + } + }, "RdsDataApiConfig": { "base": "

Contains the metadata required to introspect the RDS cluster.

", "refs": { @@ -1337,6 +1353,14 @@ "UpdateResolverResponse$resolver": "

The updated Resolver object.

" } }, + "ResolverCountLimit": { + "base": null, + "refs": { + "CreateGraphqlApiRequest$resolverCountLimit": "

The maximum number of resolvers that can be invoked in a single request. The default value is 0 (or unspecified), which will set the limit to 10000. When specified, the limit value can be between 1 and 10000. This field will produce a limit error if the operation falls out of bounds.

", + "GraphqlApi$resolverCountLimit": "

The maximum number of resolvers that can be invoked in a single request. The default value is 0 (or unspecified), which will set the limit to 10000. When specified, the limit value can be between 1 and 10000. This field will produce a limit error if the operation falls out of bounds.

", + "UpdateGraphqlApiRequest$resolverCountLimit": "

The maximum number of resolvers that can be invoked in a single request. The default value is 0 (or unspecified), which will set the limit to 10000. When specified, the limit value can be between 1 and 10000. This field will produce a limit error if the operation falls out of bounds.

" + } + }, "ResolverKind": { "base": null, "refs": { diff --git a/models/apis/chime-sdk-meetings/2021-07-15/api-2.json b/models/apis/chime-sdk-meetings/2021-07-15/api-2.json index 0486b1a5bd5..d61dd8584ec 100644 --- a/models/apis/chime-sdk-meetings/2021-07-15/api-2.json +++ b/models/apis/chime-sdk-meetings/2021-07-15/api-2.json @@ -355,6 +355,12 @@ "Content":{"shape":"MediaCapabilities"} } }, + "AttendeeFeatures":{ + "type":"structure", + "members":{ + "MaxCount":{"shape":"AttendeeMax"} + } + }, "AttendeeIdItem":{ "type":"structure", "required":["AttendeeId"], @@ -372,6 +378,11 @@ "type":"list", "member":{"shape":"Attendee"} }, + "AttendeeMax":{ + "type":"integer", + "max":250, + "min":1 + }, "AudioFeatures":{ "type":"structure", "members":{ @@ -449,6 +460,20 @@ "error":{"httpStatusCode":409}, "exception":true }, + "ContentFeatures":{ + "type":"structure", + "members":{ + "MaxResolution":{"shape":"ContentResolution"} + } + }, + "ContentResolution":{ + "type":"string", + "enum":[ + "None", + "FHD", + "UHD" + ] + }, "CreateAttendeeError":{ "type":"structure", "members":{ @@ -806,7 +831,10 @@ "MeetingFeaturesConfiguration":{ "type":"structure", "members":{ - "Audio":{"shape":"AudioFeatures"} + "Audio":{"shape":"AudioFeatures"}, + "Video":{"shape":"VideoFeatures"}, + "Content":{"shape":"ContentFeatures"}, + "Attendee":{"shape":"AttendeeFeatures"} } }, "NotFoundException":{ @@ -1182,6 +1210,20 @@ "members":{ "Attendee":{"shape":"Attendee"} } + }, + "VideoFeatures":{ + "type":"structure", + "members":{ + "MaxResolution":{"shape":"VideoResolution"} + } + }, + "VideoResolution":{ + "type":"string", + "enum":[ + "None", + "HD", + "FHD" + ] } } } diff --git a/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json b/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json index 7d065cb4f03..d1638c5a4e5 100644 --- a/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json +++ b/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json @@ -1,9 +1,9 @@ { "version": "2.0", - "service": "

The Amazon Chime SDK meetings APIs in this section allow software developers to create Amazon Chime SDK meetings, set the AWS Regions for meetings, create and manage users, and send and receive meeting notifications. For more information about the meeting APIs, see Amazon Chime SDK meetings.

", + "service": "

The Amazon Chime SDK meetings APIs in this section allow software developers to create Amazon Chime SDK meetings, set the Amazon Web Services Regions for meetings, create and manage users, and send and receive meeting notifications. For more information about the meeting APIs, see Amazon Chime SDK meetings.

", "operations": { "BatchCreateAttendee": "

Creates up to 100 attendees for an active Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.

", - "BatchUpdateAttendeeCapabilitiesExcept": "

Updates AttendeeCapabilities except the capabilities listed in an ExcludedAttendeeIds table.

You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive data. For more information about those values, see .

When using capabilities, be aware of these corner cases:

", + "BatchUpdateAttendeeCapabilitiesExcept": "

Updates AttendeeCapabilities except the capabilities listed in an ExcludedAttendeeIds table.

You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive data. For more information about those values, see .

When using capabilities, be aware of these corner cases:

", "CreateAttendee": "

Creates a new attendee for an active Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.

", "CreateMeeting": "

Creates a new Amazon Chime SDK meeting in the specified media Region with no initial attendees. For more information about specifying media Regions, see Amazon Chime SDK Media Regions in the Amazon Chime Developer Guide. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.

", "CreateMeetingWithAttendees": "

Creates a new Amazon Chime SDK meeting in the specified media Region, with attendees. For more information about specifying media Regions, see Amazon Chime SDK Media Regions in the Amazon Chime Developer Guide. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.

", @@ -13,11 +13,11 @@ "GetMeeting": "

Gets the Amazon Chime SDK meeting details for the specified meeting ID. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.

", "ListAttendees": "

Lists the attendees for the specified Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.

", "ListTagsForResource": "

Returns a list of the tags available for the specified resource.

", - "StartMeetingTranscription": "

Starts transcription for the specified meetingId. For more information, refer to Using Amazon Chime SDK live transcription in the Amazon Chime SDK Developer Guide.

If you specify an invalid configuration, a TranscriptFailed event will be sent with the contents of the BadRequestException generated by Amazon Transcribe. For more information on each parameter and which combinations are valid, refer to the StartStreamTranscription API in the Amazon Transcribe Developer Guide.

Amazon Chime SDK live transcription is powered by Amazon Transcribe. Use of Amazon Transcribe is subject to the AWS Service Terms, including the terms specific to the AWS Machine Learning and Artificial Intelligence Services.

", - "StopMeetingTranscription": "

Stops transcription for the specified meetingId. For more information, refer to Using Amazon Chime SDK live transcription in the Amazon Chime SDK Developer Guide.

Amazon Chime SDK live transcription is powered by Amazon Transcribe. Use of Amazon Transcribe is subject to the AWS Service Terms, including the terms specific to the AWS Machine Learning and Artificial Intelligence Services.

", + "StartMeetingTranscription": "

Starts transcription for the specified meetingId. For more information, refer to Using Amazon Chime SDK live transcription in the Amazon Chime SDK Developer Guide.

If you specify an invalid configuration, a TranscriptFailed event will be sent with the contents of the BadRequestException generated by Amazon Transcribe. For more information on each parameter and which combinations are valid, refer to the StartStreamTranscription API in the Amazon Transcribe Developer Guide.

By default, Amazon Transcribe may use and store audio content processed by the service to develop and improve Amazon Web Services AI/ML services as further described in section 50 of the Amazon Web Services Service Terms. Using Amazon Transcribe may be subject to federal and state laws or regulations regarding the recording or interception of electronic communications. It is your and your end users’ responsibility to comply with all applicable laws regarding the recording, including properly notifying all participants in a recorded session or communication that the session or communication is being recorded, and obtaining all necessary consents. You can opt out from Amazon Web Services using audio content to develop and improve AWS AI/ML services by configuring an AI services opt out policy using Amazon Web Services Organizations.

", + "StopMeetingTranscription": "

Stops transcription for the specified meetingId. For more information, refer to Using Amazon Chime SDK live transcription in the Amazon Chime SDK Developer Guide.

By default, Amazon Transcribe may use and store audio content processed by the service to develop and improve Amazon Web Services AI/ML services as further described in section 50 of the Amazon Web Services Service Terms. Using Amazon Transcribe may be subject to federal and state laws or regulations regarding the recording or interception of electronic communications. It is your and your end users’ responsibility to comply with all applicable laws regarding the recording, including properly notifying all participants in a recorded session or communication that the session or communication is being recorded, and obtaining all necessary consents. You can opt out from Amazon Web Services using audio content to develop and improve Amazon Web Services AI/ML services by configuring an AI services opt out policy using Amazon Web Services Organizations.

", "TagResource": "

The resource that supports tags.

", - "UntagResource": "

Removes the specified tags from the specified resources. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from a resource that were already removed. Note the following:

Minimum permissions

In addition to the tag:UntagResources permission required by this operation, you must also have the remove tags permission defined by the service that created the resource. For example, to remove the tags from an Amazon EC2 instance using the UntagResources operation, you must have both of the following permissions:

tag:UntagResource

ChimeSDKMeetings:DeleteTags

", - "UpdateAttendeeCapabilities": "

The capabilities that you want to update.

You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive data. For more information about those values, see .

When using capabilities, be aware of these corner cases:

" + "UntagResource": "

Removes the specified tags from the specified resources. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from a resource that were already removed. Note the following:

Minimum permissions

In addition to the tag:UntagResources permission required by this operation, you must also have the remove tags permission defined by the service that created the resource. For example, to remove the tags from an Amazon EC2 instance using the UntagResources operation, you must have both of the following permissions:

tag:UntagResource

ChimeSDKMeetings:DeleteTags

", + "UpdateAttendeeCapabilities": "

The capabilities that you want to update.

You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive data. For more information about those values, see .

When using capabilities, be aware of these corner cases:

" }, "shapes": { "AmazonResourceName": { @@ -34,7 +34,7 @@ "Arn": { "base": null, "refs": { - "NotificationsConfiguration$LambdaFunctionArn": "

The ARN of the AWS Lambda function in the notifications configuration.

", + "NotificationsConfiguration$LambdaFunctionArn": "

The ARN of the Amazon Web Services Lambda function in the notifications configuration.

", "NotificationsConfiguration$SnsTopicArn": "

The ARN of the SNS topic.

", "NotificationsConfiguration$SqsQueueArn": "

The ARN of the SQS queue.

" } @@ -49,15 +49,21 @@ } }, "AttendeeCapabilities": { - "base": "

The media capabilities of an attendee: audio, video, or content.

You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive data. For more information about those values, see .

When using capabilities, be aware of these corner cases:

", + "base": "

The media capabilities of an attendee: audio, video, or content.

You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive data. For more information, refer to and .

When using capabilities, be aware of these corner cases:

", "refs": { - "Attendee$Capabilities": "

The capabilities assigned to an attendee: audio, video, or content.

You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive data. For more information about those values, see .

When using capabilities, be aware of these corner cases:

", + "Attendee$Capabilities": "

The capabilities assigned to an attendee: audio, video, or content.

You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive data. For more information about those values, see .

When using capabilities, be aware of these corner cases:

", "BatchUpdateAttendeeCapabilitiesExceptRequest$Capabilities": "

The capabilities (audio, video, or content) that you want to update.

", - "CreateAttendeeRequest$Capabilities": "

The capabilities (audio, video, or content) that you want to grant an attendee. If you don't specify capabilities, all users have send and receive capabilities on all media channels by default.

You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive data. For more information about those values, see .

When using capabilities, be aware of these corner cases:

", + "CreateAttendeeRequest$Capabilities": "

The capabilities (audio, video, or content) that you want to grant an attendee. If you don't specify capabilities, all users have send and receive capabilities on all media channels by default.

You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive data. For more information about those values, see .

When using capabilities, be aware of these corner cases:

", "CreateAttendeeRequestItem$Capabilities": "

A list of one or more capabilities.

", "UpdateAttendeeCapabilitiesRequest$Capabilities": "

The capabilities that you want to update.

" } }, + "AttendeeFeatures": { + "base": "

Lists the maximum number of attendees allowed into the meeting.

If you specify FHD for MeetingFeatures:Video:MaxResolution, or if you specify UHD for MeetingFeatures:Content:MaxResolution, the maximum number of attendees changes from the default of 250 to 25.

", + "refs": { + "MeetingFeaturesConfiguration$Attendee": "

The configuration settings for the attendee features available to a meeting.

" + } + }, "AttendeeIdItem": { "base": "

A structure that contains one or more attendee IDs.

", "refs": { @@ -78,6 +84,12 @@ "ListAttendeesResponse$Attendees": "

The Amazon Chime SDK attendee information.

" } }, + "AttendeeMax": { + "base": null, + "refs": { + "AttendeeFeatures$MaxCount": "

The maximum number of attendees allowed into the meeting.

" + } + }, "AudioFeatures": { "base": "

An optional category of meeting features that contains audio-specific configurations, such as operating parameters for Amazon Voice Focus.

", "refs": { @@ -130,6 +142,18 @@ "refs": { } }, + "ContentFeatures": { + "base": "

Lists the content (screen share) features for the meeting. Applies to all attendees.

If you specify MeetingFeatures:Content:MaxResolution:None when you create a meeting, all API requests that include SendReceive, Send, or Receive for AttendeeCapabilities:Content will be rejected with ValidationError 400.

", + "refs": { + "MeetingFeaturesConfiguration$Content": "

The configuration settings for the content features available to a meeting.

" + } + }, + "ContentResolution": { + "base": null, + "refs": { + "ContentFeatures$MaxResolution": "

The maximum resolution for the meeting content.

Defaults to FHD. To use UHD, you must also provide a MeetingFeatures:Attendee:MaxCount value and override the default size limit of 250 attendees.

" + } + }, "CreateAttendeeError": { "base": "

The list of errors returned when errors are encountered during the BatchCreateAttendee and CreateAttendee actions. This includes external user IDs, error codes, and error messages.

", "refs": { @@ -322,9 +346,9 @@ "MediaRegion": { "base": null, "refs": { - "CreateMeetingRequest$MediaRegion": "

The Region in which to create the meeting.

Available values: af-south-1, ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2.

Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1.

", - "CreateMeetingWithAttendeesRequest$MediaRegion": "

The Region in which to create the meeting.

Available values: af-south-1, ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2.

Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1.

", - "Meeting$MediaRegion": "

The Region in which you create the meeting. Available values: af-south-1, ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2.

Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1.

" + "CreateMeetingRequest$MediaRegion": "

The Region in which to create the meeting.

Available values: af-south-1, ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2.

Available values in Amazon Web Services GovCloud (US) Regions: us-gov-east-1, us-gov-west-1.

", + "CreateMeetingWithAttendeesRequest$MediaRegion": "

The Region in which to create the meeting.

Available values: af-south-1, ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2.

Available values in Amazon Web Services GovCloud (US) Regions: us-gov-east-1, us-gov-west-1.

", + "Meeting$MediaRegion": "

The Region in which you create the meeting. Available values: af-south-1, ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2.

Available values in Amazon Web Services GovCloud (US) Regions: us-gov-east-1, us-gov-west-1.

" } }, "Meeting": { @@ -431,10 +455,10 @@ "MediaPlacement$AudioHostUrl": "

The audio host URL.

", "MediaPlacement$AudioFallbackUrl": "

The audio fallback URL.

", "MediaPlacement$SignalingUrl": "

The signaling URL.

", - "MediaPlacement$TurnControlUrl": "

The turn control URL.

", - "MediaPlacement$ScreenDataUrl": "

The screen data URL.

", - "MediaPlacement$ScreenViewingUrl": "

The screen viewing URL.

", - "MediaPlacement$ScreenSharingUrl": "

The screen sharing URL.

", + "MediaPlacement$TurnControlUrl": "

The turn control URL.

This parameter is deprecated and no longer used by the Amazon Chime SDK.

", + "MediaPlacement$ScreenDataUrl": "

The screen data URL.

This parameter is deprecated and no longer used by the Amazon Chime SDK.

", + "MediaPlacement$ScreenViewingUrl": "

The screen viewing URL.

This parameter is deprecated and no longer used by the Amazon Chime SDK.

", + "MediaPlacement$ScreenSharingUrl": "

The screen sharing URL.

This parameter is deprecated and no longer used by the Amazon Chime SDK.

", "MediaPlacement$EventIngestionUrl": "

The event ingestion URL.

", "NotFoundException$Code": null, "NotFoundException$Message": null, @@ -484,7 +508,7 @@ "TagList": { "base": null, "refs": { - "CreateMeetingRequest$Tags": "

Applies one or more tags to an Amazon Chime SDK meeting. Note the following:

Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.

Minimum permissions

In addition to the tag:TagResources permission required by this operation, you must also have the tagging permission defined by the service that created the resource. For example, to tag a ChimeSDKMeetings instance using the TagResources operation, you must have both of the following permissions:

tag:TagResources

ChimeSDKMeetings:CreateTags

Some services might have specific requirements for tagging some resources. For example, to tag an Amazon S3 bucket, you must also have the s3:GetBucketTagging permission. If the expected minimum permissions don't work, check the documentation for that service's tagging APIs for more information.

", + "CreateMeetingRequest$Tags": "

Applies one or more tags to an Amazon Chime SDK meeting. Note the following:

Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.

Minimum permissions

In addition to the tag:TagResources permission required by this operation, you must also have the tagging permission defined by the service that created the resource. For example, to tag a ChimeSDKMeetings instance using the TagResources operation, you must have both of the following permissions:

tag:TagResources

ChimeSDKMeetings:CreateTags

Some services might have specific requirements for tagging some resources. For example, to tag an Amazon S3 bucket, you must also have the s3:GetBucketTagging permission. If the expected minimum permissions don't work, check the documentation for that service's tagging APIs for more information.

", "CreateMeetingWithAttendeesRequest$Tags": "

The tags in the request.

", "ListTagsForResourceResponse$Tags": "

The tags requested for the specified resource.

", "TagResourceRequest$Tags": "

Lists the requested tags.

" @@ -576,7 +600,7 @@ "TranscribeMedicalRegion": { "base": null, "refs": { - "EngineTranscribeMedicalSettings$Region": "

The AWS Region passed to Amazon Transcribe Medical. If you don't specify a Region, Amazon Chime uses the meeting's Region.

" + "EngineTranscribeMedicalSettings$Region": "

The Amazon Web Services Region passed to Amazon Transcribe Medical. If you don't specify a Region, Amazon Chime uses the meeting's Region.

" } }, "TranscribeMedicalSpecialty": { @@ -606,7 +630,7 @@ "TranscribeRegion": { "base": null, "refs": { - "EngineTranscribeSettings$Region": "

The AWS Region in which to use Amazon Transcribe.

If you don't specify a Region, then the MediaRegion of the meeting is used. However, if Amazon Transcribe is not available in the MediaRegion, then a TranscriptFailed event is sent.

Use auto to use Amazon Transcribe in a Region near the meeting’s MediaRegion. For more information, refer to Choosing a transcription Region in the Amazon Chime SDK Developer Guide.

" + "EngineTranscribeSettings$Region": "

The Amazon Web Services Region in which to use Amazon Transcribe.

If you don't specify a Region, then the MediaRegion of the meeting is used. However, if Amazon Transcribe is not available in the MediaRegion, then a TranscriptFailed event is sent.

Use auto to use Amazon Transcribe in a Region near the meeting’s MediaRegion. For more information, refer to Choosing a transcription Region in the Amazon Chime SDK Developer Guide.

" } }, "TranscribeVocabularyFilterMethod": { @@ -657,6 +681,18 @@ "base": null, "refs": { } + }, + "VideoFeatures": { + "base": "

The video features set for the meeting. Applies to all attendees.

If you specify MeetingFeatures:Video:MaxResolution:None when you create a meeting, all API requests that include SendReceive, Send, or Receive for AttendeeCapabilities:Video will be rejected with ValidationError 400.

", + "refs": { + "MeetingFeaturesConfiguration$Video": "

The configuration settings for the video features available to a meeting.

" + } + }, + "VideoResolution": { + "base": null, + "refs": { + "VideoFeatures$MaxResolution": "

The maximum video resolution for the meeting. Applies to all attendees.

Defaults to HD. To use FHD, you must also provide a MeetingFeatures:Attendee:MaxCount value and override the default size limit of 250 attendees.

" + } } } } diff --git a/models/apis/chime-sdk-meetings/2021-07-15/endpoint-rule-set-1.json b/models/apis/chime-sdk-meetings/2021-07-15/endpoint-rule-set-1.json index b1a80964628..50be1861836 100644 --- a/models/apis/chime-sdk-meetings/2021-07-15/endpoint-rule-set-1.json +++ b/models/apis/chime-sdk-meetings/2021-07-15/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index 75cf1bfc33c..308c6599664 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -6151,7 +6151,8 @@ "members":{ "Cidr":{"shape":"String"}, "Asn":{"shape":"String"}, - "DryRun":{"shape":"Boolean"} + "DryRun":{"shape":"Boolean"}, + "NetworkBorderGroup":{"shape":"String"} } }, "AdvertiseByoipCidrResult":{ @@ -8235,6 +8236,10 @@ "State":{ "shape":"ByoipCidrState", "locationName":"state" + }, + "NetworkBorderGroup":{ + "shape":"String", + "locationName":"networkBorderGroup" } } }, @@ -36411,7 +36416,8 @@ "shape":"TagSpecificationList", "locationName":"PoolTagSpecification" }, - "MultiRegion":{"shape":"Boolean"} + "MultiRegion":{"shape":"Boolean"}, + "NetworkBorderGroup":{"shape":"String"} } }, "ProvisionByoipCidrResult":{ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 9eebc8afa84..f0ae52c74b1 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -2553,7 +2553,7 @@ "InstanceIpv6Address$IsPrimaryIpv6": "

Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information, see RunInstances.

", "InstanceNetworkInterface$SourceDestCheck": "

Indicates whether source/destination checking is enabled.

", "InstanceNetworkInterfaceAttachment$DeleteOnTermination": "

Indicates whether the network interface is deleted when the instance is terminated.

", - "InstanceNetworkInterfaceSpecification$AssociatePublicIpAddress": "

Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.

", + "InstanceNetworkInterfaceSpecification$AssociatePublicIpAddress": "

Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.

Starting on February 1, 2024, Amazon Web Services will charge for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.

", "InstanceNetworkInterfaceSpecification$DeleteOnTermination": "

If set to true, the interface is deleted when the instance is terminated. You can specify true only if creating a new network interface when launching an instance.

", "InstanceNetworkInterfaceSpecification$AssociateCarrierIpAddress": "

Indicates whether to assign a carrier IP address to the network interface.

You can only assign a carrier IP address to a network interface that is in a subnet in a Wavelength Zone. For more information about carrier IP addresses, see Carrier IP address in the Amazon Web Services Wavelength Developer Guide.

", "InstanceNetworkInterfaceSpecification$PrimaryIpv6": "

The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.

", @@ -2579,11 +2579,11 @@ "LaunchTemplateHibernationOptions$Configured": "

If this parameter is set to true, the instance is enabled for hibernation; otherwise, it is not enabled for hibernation.

", "LaunchTemplateHibernationOptionsRequest$Configured": "

If you set this parameter to true, the instance is enabled for hibernation.

Default: false

", "LaunchTemplateInstanceNetworkInterfaceSpecification$AssociateCarrierIpAddress": "

Indicates whether to associate a Carrier IP address with eth0 for a new network interface.

Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Wavelength Developer Guide.

", - "LaunchTemplateInstanceNetworkInterfaceSpecification$AssociatePublicIpAddress": "

Indicates whether to associate a public IPv4 address with eth0 for a new network interface.

", + "LaunchTemplateInstanceNetworkInterfaceSpecification$AssociatePublicIpAddress": "

Indicates whether to associate a public IPv4 address with eth0 for a new network interface.

Starting on February 1, 2024, Amazon Web Services will charge for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.

", "LaunchTemplateInstanceNetworkInterfaceSpecification$DeleteOnTermination": "

Indicates whether the network interface is deleted when the instance is terminated.

", "LaunchTemplateInstanceNetworkInterfaceSpecification$PrimaryIpv6": "

The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.

", "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$AssociateCarrierIpAddress": "

Associates a Carrier IP address with eth0 for a new network interface.

Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Wavelength Developer Guide.

", - "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$AssociatePublicIpAddress": "

Associates a public IPv4 address with eth0 for a new network interface.

", + "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$AssociatePublicIpAddress": "

Associates a public IPv4 address with eth0 for a new network interface.

Starting on February 1, 2024, Amazon Web Services will charge for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.

", "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$DeleteOnTermination": "

Indicates whether the network interface is deleted when the instance is terminated.

", "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$PrimaryIpv6": "

The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.

", "LaunchTemplatePrivateDnsNameOptions$EnableResourceNameDnsARecord": "

Indicates whether to respond to DNS queries for instance hostnames with DNS A records.

", @@ -12813,7 +12813,7 @@ "IpamPoolSourceResource": { "base": "

The resource used to provision CIDRs to a resource planning pool.

", "refs": { - "IpamPool$SourceResource": null + "IpamPool$SourceResource": "

The resource used to provision CIDRs to a resource planning pool.

" } }, "IpamPoolSourceResourceRequest": { @@ -13551,8 +13551,8 @@ "LaunchTemplateHttpTokensState": { "base": null, "refs": { - "LaunchTemplateInstanceMetadataOptions$HttpTokens": "

Indicates whether IMDSv2 is optional or required.

optional - When IMDSv2 is optional, you can choose to retrieve instance metadata with or without a session token in your request. If you retrieve the IAM role credentials without a token, the IMDSv1 role credentials are returned. If you retrieve the IAM role credentials using a valid session token, the IMDSv2 role credentials are returned.

required - When IMDSv2 is required, you must send a session token with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.

Default: optional

", - "LaunchTemplateInstanceMetadataOptionsRequest$HttpTokens": "

IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to optional (in other words, set the use of IMDSv2 to optional) or required (in other words, set the use of IMDSv2 to required).

Default: optional

" + "LaunchTemplateInstanceMetadataOptions$HttpTokens": "

Indicates whether IMDSv2 is required.

", + "LaunchTemplateInstanceMetadataOptionsRequest$HttpTokens": "

Indicates whether IMDSv2 is required.

Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for your instance is v2.0, the default is required.

" } }, "LaunchTemplateIamInstanceProfileSpecification": { @@ -13802,7 +13802,7 @@ "LaunchTemplateTagSpecificationRequestList": { "base": null, "refs": { - "RequestLaunchTemplateData$TagSpecifications": "

The tags to apply to the resources that are created during instance launch.

You can specify tags for the following resources only:

To tag a resource after it has been created, see CreateTags.

To tag the launch template itself, you must use the TagSpecification parameter.

" + "RequestLaunchTemplateData$TagSpecifications": "

The tags to apply to the resources that are created during instance launch. These tags are not applied to the launch template.

" } }, "LaunchTemplateVersion": { @@ -19082,6 +19082,7 @@ "AddressTransfer$TransferAccountId": "

The ID of the account that you want to transfer the Elastic IP address to.

", "AdvertiseByoipCidrRequest$Cidr": "

The address range, in CIDR notation. This must be the exact range that you provisioned. You can't advertise only a portion of the provisioned range.

", "AdvertiseByoipCidrRequest$Asn": "

The public 2-byte or 4-byte ASN that you want to advertise.

", + "AdvertiseByoipCidrRequest$NetworkBorderGroup": "

If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.

You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:

You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.

", "AllocateAddressRequest$NetworkBorderGroup": "

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.

Use DescribeAvailabilityZones to view the network border groups.

", "AllocateAddressRequest$CustomerOwnedIpv4Pool": "

The ID of a customer-owned address pool. Use this parameter to let Amazon EC2 select an address from the address pool. Alternatively, specify a specific address from the address pool.

", "AllocateAddressResult$PublicIp": "

The Elastic IP address.

", @@ -19207,6 +19208,7 @@ "ByoipCidr$Cidr": "

The address range, in CIDR notation.

", "ByoipCidr$Description": "

The description of the address range.

", "ByoipCidr$StatusMessage": "

Upon success, contains the ID of the address pool. Otherwise, contains an error message.

", + "ByoipCidr$NetworkBorderGroup": "

If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.

You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:

You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.

", "CancelConversionRequest$ReasonMessage": "

The reason for canceling the conversion task.

", "CancelImportTaskRequest$CancelReason": "

The reason for canceling the task.

", "CancelImportTaskResult$ImportTaskId": "

The ID of the task being canceled.

", @@ -20540,6 +20542,7 @@ "PropagatingVgw$GatewayId": "

The ID of the virtual private gateway.

", "ProvisionByoipCidrRequest$Cidr": "

The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can specify is /24. The most specific IPv6 prefix you can specify is /56. The address range cannot overlap with another address range that you've brought to this or another Region.

", "ProvisionByoipCidrRequest$Description": "

A description for the address range and the address pool.

", + "ProvisionByoipCidrRequest$NetworkBorderGroup": "

If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.

You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:

You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.

", "ProvisionIpamByoasnRequest$Asn": "

A public 2-byte or 4-byte ASN.

", "ProvisionIpamPoolCidrRequest$Cidr": "

The CIDR you want to assign to the IPAM pool. Either \"NetmaskLength\" or \"Cidr\" is required. This value will be null if you specify \"NetmaskLength\" and will be filled in during the provisioning process.

", "ProvisionIpamPoolCidrRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

", diff --git a/models/apis/fsx/2018-03-01/api-2.json b/models/apis/fsx/2018-03-01/api-2.json index 13f147daf22..d05e82a807c 100644 --- a/models/apis/fsx/2018-03-01/api-2.json +++ b/models/apis/fsx/2018-03-01/api-2.json @@ -2170,7 +2170,8 @@ "SnapshotIds":{"shape":"SnapshotIds"}, "Filters":{"shape":"SnapshotFilters"}, "MaxResults":{"shape":"MaxResults"}, - "NextToken":{"shape":"NextToken"} + "NextToken":{"shape":"NextToken"}, + "IncludeShared":{"shape":"IncludeShared"} } }, "DescribeSnapshotsResponse":{ @@ -2605,6 +2606,7 @@ "max":6, "min":1 }, + "IncludeShared":{"type":"boolean"}, "IncompatibleParameterError":{ "type":"structure", "required":["Parameter"], @@ -3151,7 +3153,8 @@ "DeleteClonedVolumes":{"shape":"Flag"}, "DeleteIntermediateData":{"shape":"Flag"}, "SourceSnapshotARN":{"shape":"ResourceARN"}, - "DestinationSnapshot":{"shape":"SnapshotId"} + "DestinationSnapshot":{"shape":"SnapshotId"}, + "CopyStrategy":{"shape":"OpenZFSCopyStrategy"} } }, "OrganizationalUnitDistinguishedName":{ diff --git a/models/apis/fsx/2018-03-01/docs-2.json b/models/apis/fsx/2018-03-01/docs-2.json index 7de31768747..ba2ceb36121 100644 --- a/models/apis/fsx/2018-03-01/docs-2.json +++ b/models/apis/fsx/2018-03-01/docs-2.json @@ -1541,6 +1541,12 @@ "OntapFileSystemConfiguration$HAPairs": "

Specifies how many high-availability (HA) file server pairs the file system will have. The default value is 1. The value of this property affects the values of StorageCapacity, Iops, and ThroughputCapacity. For more information, see High-availability (HA) pairs in the FSx for ONTAP user guide.

Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:

" } }, + "IncludeShared": { + "base": null, + "refs": { + "DescribeSnapshotsRequest$IncludeShared": "

Set to false (default) if you want to only see the snapshots in your Amazon Web Services account. Set to true if you want to see the snapshots in your account and the ones shared with you from another account.

" + } + }, "IncompatibleParameterError": { "base": "

The error returned when a second request is received with the same client request token but different parameters settings. A client request token should always uniquely identify a single request.

", "refs": { @@ -1961,7 +1967,8 @@ "refs": { "CopySnapshotAndUpdateVolumeRequest$CopyStrategy": "

Specifies the strategy to use when copying data from a snapshot to the volume.

CLONE isn't a valid copy strategy option for the CopySnapshotAndUpdateVolume operation.

", "CreateOpenZFSOriginSnapshotConfiguration$CopyStrategy": "

Specifies the strategy used when copying data from the snapshot to the new volume.

The INCREMENTAL_COPY option is only for updating an existing volume by using a snapshot from another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.

", - "OpenZFSOriginSnapshotConfiguration$CopyStrategy": "

The strategy used when copying data from the snapshot to the new volume.

The INCREMENTAL_COPY option is only for updating an existing volume by using a snapshot from another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.

" + "OpenZFSOriginSnapshotConfiguration$CopyStrategy": "

The strategy used when copying data from the snapshot to the new volume.

The INCREMENTAL_COPY option is only for updating an existing volume by using a snapshot from another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.

", + "OpenZFSVolumeConfiguration$CopyStrategy": "

Specifies the strategy used when copying data from the snapshot to the new volume.

The INCREMENTAL_COPY option is only for updating an existing volume by using a snapshot from another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.

" } }, "OpenZFSCreateRootVolumeConfiguration": { @@ -2733,9 +2740,9 @@ "ThroughputCapacityPerHAPair": { "base": null, "refs": { - "CreateFileSystemOntapConfiguration$ThroughputCapacityPerHAPair": "

Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system.

This field and ThroughputCapacity cannot be defined in the same API call, but one is required.

This field and ThroughputCapacity are the same for file systems with one HA pair.

Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:

", + "CreateFileSystemOntapConfiguration$ThroughputCapacityPerHAPair": "

Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system.

This field and ThroughputCapacity cannot be defined in the same API call, but one is required.

This field and ThroughputCapacity are the same for file systems with one HA pair.

Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:

", "OntapFileSystemConfiguration$ThroughputCapacityPerHAPair": "

Use to choose the throughput capacity per HA pair. When the value of HAPairs is equal to 1, the value of ThroughputCapacityPerHAPair is the total throughput for the file system.

This field and ThroughputCapacity cannot be defined in the same API call, but one is required.

This field and ThroughputCapacity are the same for file systems with one HA pair.

Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:

", - "UpdateFileSystemOntapConfiguration$ThroughputCapacityPerHAPair": "

Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system.

This field and ThroughputCapacity cannot be defined in the same API call, but one is required.

This field and ThroughputCapacity are the same for file systems with one HA pair.

Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:

The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same value.

The value of ThroughputCapacityPerHAPair is not a valid value.

" + "UpdateFileSystemOntapConfiguration$ThroughputCapacityPerHAPair": "

Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system.

This field and ThroughputCapacity cannot be defined in the same API call, but one is required.

This field and ThroughputCapacity are the same for file systems with one HA pair.

Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:

" } }, "TieringPolicy": { diff --git a/models/apis/marketplace-catalog/2018-09-17/api-2.json b/models/apis/marketplace-catalog/2018-09-17/api-2.json index 80be91fbdd5..94e18ac083f 100644 --- a/models/apis/marketplace-catalog/2018-09-17/api-2.json +++ b/models/apis/marketplace-catalog/2018-09-17/api-2.json @@ -12,6 +12,33 @@ "uid": "marketplace-catalog-2018-09-17" }, "operations": { + "BatchDescribeEntities": { + "errors": [ + { + "shape": "AccessDeniedException" + }, + { + "shape": "InternalServiceException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "ValidationException" + } + ], + "http": { + "method": "POST", + "requestUri": "/BatchDescribeEntities" + }, + "input": { + "shape": "BatchDescribeEntitiesRequest" + }, + "name": "BatchDescribeEntities", + "output": { + "shape": "BatchDescribeEntitiesResponse" + } + }, "CancelChangeSet": { "errors": [ { @@ -541,6 +568,51 @@ ], "type": "string" }, + "BatchDescribeEntitiesRequest": { + "members": { + "EntityRequestList": { + "shape": "EntityRequestList" + } + }, + "required": [ + "EntityRequestList" + ], + "type": "structure" + }, + "BatchDescribeEntitiesResponse": { + "members": { + "EntityDetails": { + "shape": "EntityDetails" + }, + "Errors": { + "shape": "Errors" + } + }, + "type": "structure" + }, + "BatchDescribeErrorCodeString": { + "max": 72, + "min": 1, + "pattern": "^[a-zA-Z_]+$", + "type": "string" + }, + "BatchDescribeErrorDetail": { + "members": { + "ErrorCode": { + "shape": "BatchDescribeErrorCodeString" + }, + "ErrorMessage": { + "shape": "BatchDescribeErrorMessageContent" + } + }, + "type": "structure" + }, + "BatchDescribeErrorMessageContent": { + "max": 2048, + "min": 1, + "pattern": "^(.)+$", + "type": "string" + }, "CancelChangeSetRequest": { "members": { "Catalog": { @@ -1102,12 +1174,67 @@ ], "type": "structure" }, + "EntityDetail": { + "members": { + "EntityArn": { + "shape": "ARN" + }, + "EntityIdentifier": { + "shape": "Identifier" + }, + "EntityType": { + "shape": "EntityType" + }, + "LastModifiedDate": { + "shape": "DateTimeISO8601" + } + }, + "type": "structure" + }, + "EntityDetails": { + "key": { + "shape": "EntityId" + }, + "type": "map", + "value": { + "shape": "EntityDetail" + } + }, + "EntityId": { + "max": 255, + "min": 1, + "pattern": "^[a-zA-Z0-9][.a-zA-Z0-9/-]+[a-zA-Z0-9]$", + "type": "string" + }, "EntityNameString": { "max": 255, "min": 1, "pattern": "^\\\\S+[\\\\S\\\\s]*", "type": "string" }, + "EntityRequest": { + "members": { + "Catalog": { + "shape": "Catalog" + }, + "EntityId": { + "shape": "EntityId" + } + }, + "required": [ + "Catalog", + "EntityId" + ], + "type": "structure" + }, + "EntityRequestList": { + "max": 20, + "member": { + "shape": "EntityRequest" + }, + "min": 1, + "type": "list" + }, "EntitySummary": { "members": { "AmiProductSummary": { @@ -1232,6 +1359,15 @@ }, "type": "list" }, + "Errors": { + "key": { + "shape": "EntityId" + }, + "type": "map", + "value": { + "shape": "BatchDescribeErrorDetail" + } + }, "ExceptionMessageContent": { "max": 2048, "min": 1, diff --git a/models/apis/marketplace-catalog/2018-09-17/docs-2.json b/models/apis/marketplace-catalog/2018-09-17/docs-2.json index baf5ea3f464..dc477488bd9 100644 --- a/models/apis/marketplace-catalog/2018-09-17/docs-2.json +++ b/models/apis/marketplace-catalog/2018-09-17/docs-2.json @@ -2,6 +2,7 @@ "version": "2.0", "service": "

Catalog API actions allow you to manage your entities through list, describe, and update capabilities. An entity can be a product or an offer on AWS Marketplace.

You can automate your entity update process by integrating the AWS Marketplace Catalog API with your AWS Marketplace product build or deployment pipelines. You can also create your own applications on top of the Catalog API to manage your products on AWS Marketplace.

", "operations": { + "BatchDescribeEntities": "

Returns metadata and content for multiple entities.

", "CancelChangeSet": "

Used to cancel an open change request. Must be sent before the status of the request changes to APPLYING, the final stage of completing your change request. You can describe a change during the 60-day request history retention period for API calls.

", "DeleteResourcePolicy": "

Deletes a resource-based policy on an entity that is identified by its resource ARN.

", "DescribeChangeSet": "

Provides information about a given change set.

", @@ -23,6 +24,7 @@ "ChangeSetSummaryListItem$ChangeSetArn": "

The ARN associated with the unique identifier for the change set referenced in this request.

", "DescribeChangeSetResponse$ChangeSetArn": "

The ARN associated with the unique identifier for the change set referenced in this request.

", "DescribeEntityResponse$EntityArn": "

The ARN associated to the unique identifier for the entity referenced in this request.

", + "EntityDetail$EntityArn": "

The Amazon Resource Name (ARN) of the entity.

", "EntitySummary$EntityArn": "

The ARN associated with the unique identifier for the entity.

", "StartChangeSetResponse$ChangeSetArn": "

The ARN associated to the unique identifier generated for the request.

" } @@ -125,6 +127,34 @@ "AmiProductVisibilityFilterValueList$member": null } }, + "BatchDescribeEntitiesRequest": { + "base": null, + "refs": { + } + }, + "BatchDescribeEntitiesResponse": { + "base": null, + "refs": { + } + }, + "BatchDescribeErrorCodeString": { + "base": null, + "refs": { + "BatchDescribeErrorDetail$ErrorCode": "

The error code returned.

" + } + }, + "BatchDescribeErrorDetail": { + "base": "

An object that contains an error code and error message.

", + "refs": { + "Errors$value": null + } + }, + "BatchDescribeErrorMessageContent": { + "base": null, + "refs": { + "BatchDescribeErrorDetail$ErrorMessage": "

The error message returned.

" + } + }, "CancelChangeSetRequest": { "base": null, "refs": { @@ -141,6 +171,7 @@ "CancelChangeSetRequest$Catalog": "

Required. The catalog related to the request. Fixed value: AWSMarketplace.

", "DescribeChangeSetRequest$Catalog": "

Required. The catalog related to the request. Fixed value: AWSMarketplace

", "DescribeEntityRequest$Catalog": "

Required. The catalog related to the request. Fixed value: AWSMarketplace

", + "EntityRequest$Catalog": "

The name of the catalog the entity is present in. The only value at this time is AWSMarketplace.

", "ListChangeSetsRequest$Catalog": "

The catalog related to the request. Fixed value: AWSMarketplace

", "ListEntitiesRequest$Catalog": "

The catalog related to the request. Fixed value: AWSMarketplace

", "StartChangeSetRequest$Catalog": "

The catalog related to the request. Fixed value: AWSMarketplace

" @@ -201,7 +232,7 @@ "ChangeType": { "base": null, "refs": { - "Change$ChangeType": "

Change types are single string values that describe your intention for the change. Each change type is unique for each EntityType provided in the change's scope. For more information on change types available for single-AMI products, see Working with single-AMI products. Also, for more information about change types available for container-based products, see Working with container products.

", + "Change$ChangeType": "

Change types are single string values that describe your intention for the change. Each change type is unique for each EntityType provided in the change's scope. For more information about change types available for single-AMI products, see Working with single-AMI products. Also, for more information about change types available for container-based products, see Working with container products.

", "ChangeSummary$ChangeType": "

The type of the change.

" } }, @@ -411,6 +442,7 @@ "DescribeChangeSetResponse$StartTime": "

The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request started.

", "DescribeChangeSetResponse$EndTime": "

The date and time, in ISO 8601 format (2018-02-27T13:45:22Z), the request transitioned to a terminal state. The change cannot transition to a different state. Null if the request is not in a terminal state.

", "DescribeEntityResponse$LastModifiedDate": "

The last modified date of the entity, in ISO 8601 format (2018-02-27T13:45:22Z).

", + "EntityDetail$LastModifiedDate": "

The last time the entity was modified.

", "EntitySummary$LastModifiedDate": "

The last time the entity was published, using ISO 8601 format (2018-02-27T13:45:22Z).

", "OfferAvailabilityEndDateFilterDateRange$AfterValue": "

Allows filtering on the AvailabilityEndDate of an offer after a date.

", "OfferAvailabilityEndDateFilterDateRange$BeforeValue": "

Allows filtering on the AvailabilityEndDate of an offer before a date.

", @@ -471,12 +503,44 @@ "ChangeSummary$Entity": "

The entity to be changed.

" } }, + "EntityDetail": { + "base": "

An object that contains metadata and details about the entity.

", + "refs": { + "EntityDetails$value": null + } + }, + "EntityDetails": { + "base": null, + "refs": { + "BatchDescribeEntitiesResponse$EntityDetails": "

Details about each entity.

" + } + }, + "EntityId": { + "base": null, + "refs": { + "EntityDetails$key": null, + "EntityRequest$EntityId": "

The ID of the entity.

", + "Errors$key": null + } + }, "EntityNameString": { "base": null, "refs": { "EntitySummary$Name": "

The name for the entity. This value is not unique. It is defined by the seller.

" } }, + "EntityRequest": { + "base": "

An object that contains entity ID and the catalog in which the entity is present.

", + "refs": { + "EntityRequestList$member": null + } + }, + "EntityRequestList": { + "base": null, + "refs": { + "BatchDescribeEntitiesRequest$EntityRequestList": "

List of entity IDs and the catalogs the entities are present in.

" + } + }, "EntitySummary": { "base": "

This object is a container for common summary information about the entity. The summary doesn't contain the whole entity structure, but it does contain information common across all entities.

", "refs": { @@ -494,8 +558,9 @@ "refs": { "DescribeEntityResponse$EntityType": "

The named type of the entity, in the format of EntityType@Version.

", "Entity$Type": "

The type of entity.

", + "EntityDetail$EntityType": "

The entity type of the entity, in the format of EntityType@Version.

", "EntitySummary$EntityType": "

The type of the entity.

", - "ListEntitiesRequest$EntityType": "

The type of entities to retrieve. Valid values are: ServerProduct, AmiProduct, ContainerProduct, DataProduct, SaaSProduct, ProcurementPolicy, Experience, Audience, BrandingSettings, Offer, Seller, ResaleAuthorization.

" + "ListEntitiesRequest$EntityType": "

The type of entities to retrieve. Valid values are: AmiProduct, ContainerProduct, DataProduct, SaaSProduct, ProcurementPolicy, Experience, Audience, BrandingSettings, Offer, Seller, ResaleAuthorization.

" } }, "EntityTypeFilters": { @@ -528,6 +593,12 @@ "ChangeSummary$ErrorDetailList": "

An array of ErrorDetail objects associated with the change.

" } }, + "Errors": { + "base": null, + "refs": { + "BatchDescribeEntitiesResponse$Errors": "

A map of errors returned, with EntityId as the key and errorDetail as the value.

" + } + }, "ExceptionMessageContent": { "base": null, "refs": { @@ -589,7 +660,8 @@ "base": null, "refs": { "DescribeEntityResponse$EntityIdentifier": "

The identifier of the entity, in the format of EntityId@RevisionId.

", - "Entity$Identifier": "

The identifier for the entity.

" + "Entity$Identifier": "

The identifier for the entity.

", + "EntityDetail$EntityIdentifier": "

The ID of the entity, in the format of EntityId@RevisionId.

" } }, "InternalServiceException": { @@ -610,7 +682,8 @@ "refs": { "Change$DetailsDocument": "

Alternative field that accepts a JSON value instead of a string for ChangeType details. You can use either Details or DetailsDocument, but not both.

", "ChangeSummary$DetailsDocument": "

The JSON value of the details specific to the change type of the requested change.

", - "DescribeEntityResponse$DetailsDocument": "

The JSON value of the details specific to the entity.

" + "DescribeEntityResponse$DetailsDocument": "

The JSON value of the details specific to the entity.

", + "EntityDetail$DetailsDocument": "

An object that contains all the details of the entity.

" } }, "ListChangeSetsMaxResultInteger": { diff --git a/models/apis/rds/2014-10-31/api-2.json b/models/apis/rds/2014-10-31/api-2.json index 76a4463c1c7..73ccd2fabb3 100644 --- a/models/apis/rds/2014-10-31/api-2.json +++ b/models/apis/rds/2014-10-31/api-2.json @@ -1284,6 +1284,18 @@ {"shape":"InvalidDBProxyStateFault"} ] }, + "DescribeDBRecommendations":{ + "name":"DescribeDBRecommendations", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeDBRecommendationsMessage"}, + "output":{ + "shape":"DBRecommendationsMessage", + "resultWrapper":"DescribeDBRecommendationsResult" + } + }, "DescribeDBSecurityGroups":{ "name":"DescribeDBSecurityGroups", "http":{ @@ -1917,6 +1929,19 @@ {"shape":"InvalidDBProxyStateFault"} ] }, + "ModifyDBRecommendation":{ + "name":"ModifyDBRecommendation", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ModifyDBRecommendationMessage"}, + "output":{ + "shape":"DBRecommendationMessage", + "resultWrapper":"ModifyDBRecommendationResult" + }, + "errors":[] + }, "ModifyDBSnapshot":{ "name":"ModifyDBSnapshot", "http":{ @@ -3175,6 +3200,17 @@ "InitQuery":{"shape":"String"} } }, + "ContextAttribute":{ + "type":"structure", + "members":{ + "Key":{"shape":"String"}, + "Value":{"shape":"String"} + } + }, + "ContextAttributeList":{ + "type":"list", + "member":{"shape":"ContextAttribute"} + }, "CopyDBClusterParameterGroupMessage":{ "type":"structure", "required":[ @@ -5071,6 +5107,48 @@ }, "exception":true }, + "DBRecommendation":{ + "type":"structure", + "members":{ + "RecommendationId":{"shape":"String"}, + "TypeId":{"shape":"String"}, + "Severity":{"shape":"String"}, + "ResourceArn":{"shape":"String"}, + "Status":{"shape":"String"}, + "CreatedTime":{"shape":"TStamp"}, + "UpdatedTime":{"shape":"TStamp"}, + "Detection":{"shape":"String"}, + "Recommendation":{"shape":"String"}, + "Description":{"shape":"String"}, + "Reason":{"shape":"String"}, + "RecommendedActions":{"shape":"RecommendedActionList"}, + "Category":{"shape":"String"}, + "Source":{"shape":"String"}, + "TypeDetection":{"shape":"String"}, + "TypeRecommendation":{"shape":"String"}, + "Impact":{"shape":"String"}, + "AdditionalInfo":{"shape":"String"}, + "Links":{"shape":"DocLinkList"}, + "IssueDetails":{"shape":"IssueDetails"} + } + }, + "DBRecommendationList":{ + "type":"list", + "member":{"shape":"DBRecommendation"} + }, + "DBRecommendationMessage":{ + "type":"structure", + "members":{ + "DBRecommendation":{"shape":"DBRecommendation"} + } + }, + "DBRecommendationsMessage":{ + "type":"structure", + "members":{ + "DBRecommendations":{"shape":"DBRecommendationList"}, + "Marker":{"shape":"String"} + } + }, "DBSecurityGroup":{ "type":"structure", "members":{ @@ -5939,6 +6017,17 @@ "Marker":{"shape":"String"} } }, + "DescribeDBRecommendationsMessage":{ + "type":"structure", + "members":{ + "LastUpdatedAfter":{"shape":"TStamp"}, + "LastUpdatedBefore":{"shape":"TStamp"}, + "Locale":{"shape":"String"}, + "Filters":{"shape":"FilterList"}, + "MaxRecords":{"shape":"IntegerOptional"}, + "Marker":{"shape":"String"} + } + }, "DescribeDBSecurityGroupsMessage":{ "type":"structure", "members":{ @@ -6208,6 +6297,17 @@ "min":1, "pattern":".*" }, + "DocLink":{ + "type":"structure", + "members":{ + "Text":{"shape":"String"}, + "Url":{"shape":"String"} + } + }, + "DocLinkList":{ + "type":"list", + "member":{"shape":"DocLink"} + }, "DomainMembership":{ "type":"structure", "members":{ @@ -7189,6 +7289,12 @@ }, "exception":true }, + "IssueDetails":{ + "type":"structure", + "members":{ + "PerformanceIssueDetails":{"shape":"PerformanceIssueDetails"} + } + }, "KMSKeyNotAccessibleFault":{ "type":"structure", "members":{ @@ -7252,6 +7358,36 @@ "max":100, "min":20 }, + "Metric":{ + "type":"structure", + "members":{ + "Name":{"shape":"String"}, + "References":{"shape":"MetricReferenceList"}, + "StatisticsDetails":{"shape":"String"}, + "MetricQuery":{"shape":"MetricQuery"} + } + }, + "MetricList":{ + "type":"list", + "member":{"shape":"Metric"} + }, + "MetricQuery":{ + "type":"structure", + "members":{ + "PerformanceInsightsMetricQuery":{"shape":"PerformanceInsightsMetricQuery"} + } + }, + "MetricReference":{ + "type":"structure", + "members":{ + "Name":{"shape":"String"}, + "ReferenceDetails":{"shape":"ReferenceDetails"} + } + }, + "MetricReferenceList":{ + "type":"list", + "member":{"shape":"MetricReference"} + }, "MinimumEngineVersionPerAllowedValue":{ "type":"structure", "members":{ @@ -7552,6 +7688,16 @@ "DBProxyTargetGroup":{"shape":"DBProxyTargetGroup"} } }, + "ModifyDBRecommendationMessage":{ + "type":"structure", + "required":["RecommendationId"], + "members":{ + "RecommendationId":{"shape":"String"}, + "Locale":{"shape":"String"}, + "Status":{"shape":"String"}, + "RecommendedActionUpdates":{"shape":"RecommendedActionUpdateList"} + } + }, "ModifyDBSnapshotAttributeMessage":{ "type":"structure", "required":[ @@ -8068,6 +8214,30 @@ "MultiTenant":{"shape":"BooleanOptional"} } }, + "PerformanceInsightsMetricDimensionGroup":{ + "type":"structure", + "members":{ + "Dimensions":{"shape":"StringList"}, + "Group":{"shape":"String"}, + "Limit":{"shape":"Integer"} + } + }, + "PerformanceInsightsMetricQuery":{ + "type":"structure", + "members":{ + "GroupBy":{"shape":"PerformanceInsightsMetricDimensionGroup"}, + "Metric":{"shape":"String"} + } + }, + "PerformanceIssueDetails":{ + "type":"structure", + "members":{ + "StartTime":{"shape":"TStamp"}, + "EndTime":{"shape":"TStamp"}, + "Metrics":{"shape":"MetricList"}, + "Analysis":{"shape":"String"} + } + }, "PointInTimeRestoreNotEnabledFault":{ "type":"structure", "members":{ @@ -8223,6 +8393,50 @@ "DBInstance":{"shape":"DBInstance"} } }, + "RecommendedAction":{ + "type":"structure", + "members":{ + "ActionId":{"shape":"String"}, + "Title":{"shape":"String"}, + "Description":{"shape":"String"}, + "Operation":{"shape":"String"}, + "Parameters":{"shape":"RecommendedActionParameterList"}, + "ApplyModes":{"shape":"StringList"}, + "Status":{"shape":"String"}, + "IssueDetails":{"shape":"IssueDetails"}, + "ContextAttributes":{"shape":"ContextAttributeList"} + } + }, + "RecommendedActionList":{ + "type":"list", + "member":{"shape":"RecommendedAction"} + }, + "RecommendedActionParameter":{ + "type":"structure", + "members":{ + "Key":{"shape":"String"}, + "Value":{"shape":"String"} + } + }, + "RecommendedActionParameterList":{ + "type":"list", + "member":{"shape":"RecommendedActionParameter"} + }, + "RecommendedActionUpdate":{ + "type":"structure", + "required":[ + "ActionId", + "Status" + ], + "members":{ + "ActionId":{"shape":"String"}, + "Status":{"shape":"String"} + } + }, + "RecommendedActionUpdateList":{ + "type":"list", + "member":{"shape":"RecommendedActionUpdate"} + }, "RecurringCharge":{ "type":"structure", "members":{ @@ -8238,6 +8452,12 @@ "locationName":"RecurringCharge" } }, + "ReferenceDetails":{ + "type":"structure", + "members":{ + "ScalarReferenceDetails":{"shape":"ScalarReferenceDetails"} + } + }, "RegisterDBProxyTargetsRequest":{ "type":"structure", "required":["DBProxyName"], @@ -8850,6 +9070,12 @@ }, "exception":true }, + "ScalarReferenceDetails":{ + "type":"structure", + "members":{ + "Value":{"shape":"Double"} + } + }, "ScalingConfiguration":{ "type":"structure", "members":{ diff --git a/models/apis/rds/2014-10-31/docs-2.json b/models/apis/rds/2014-10-31/docs-2.json index f7ddd61f40a..aa6f29b82cf 100644 --- a/models/apis/rds/2014-10-31/docs-2.json +++ b/models/apis/rds/2014-10-31/docs-2.json @@ -76,6 +76,7 @@ "DescribeDBProxyEndpoints": "

Returns information about DB proxy endpoints.

", "DescribeDBProxyTargetGroups": "

Returns information about DB proxy target groups, represented by DBProxyTargetGroup data structures.

", "DescribeDBProxyTargets": "

Returns information about DBProxyTarget objects. This API supports pagination.

", + "DescribeDBRecommendations": "

Describes the recommendations to resolve the issues for your DB instances, DB clusters, and DB parameter groups.

", "DescribeDBSecurityGroups": "

Returns a list of DBSecurityGroup descriptions. If a DBSecurityGroupName is specified, the list will contain only the descriptions of the specified DB security group.

EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that you migrate as soon as possible. For more information, see Migrate from EC2-Classic to a VPC in the Amazon EC2 User Guide, the blog EC2-Classic Networking is Retiring – Here’s How to Prepare, and Moving a DB instance not in a VPC into a VPC in the Amazon RDS User Guide.

", "DescribeDBSnapshotAttributes": "

Returns a list of DB snapshot attribute names and values for a manual DB snapshot.

When sharing snapshots with other Amazon Web Services accounts, DescribeDBSnapshotAttributes returns the restore attribute and a list of IDs for the Amazon Web Services accounts that are authorized to copy or restore the manual DB snapshot. If all is included in the list of values for the restore attribute, then the manual DB snapshot is public and can be copied or restored by all Amazon Web Services accounts.

To add or remove access for an Amazon Web Services account to copy or restore a manual DB snapshot, or to make the manual DB snapshot public or private, use the ModifyDBSnapshotAttribute API action.

", "DescribeDBSnapshotTenantDatabases": "

Describes the tenant databases that exist in a DB snapshot. This command only applies to RDS for Oracle DB instances in the multi-tenant configuration.

You can use this command to inspect the tenant databases within a snapshot before restoring it. You can't directly interact with the tenant databases in a DB snapshot. If you restore a snapshot that was taken from DB instance using the multi-tenant configuration, you restore all its tenant databases.

", @@ -115,6 +116,7 @@ "ModifyDBProxy": "

Changes the settings for an existing DB proxy.

", "ModifyDBProxyEndpoint": "

Changes the settings for an existing DB proxy endpoint.

", "ModifyDBProxyTargetGroup": "

Modifies the properties of a DBProxyTargetGroup.

", + "ModifyDBRecommendation": "

Updates the recommendation status and recommended action status for the specified recommendation.

", "ModifyDBSnapshot": "

Updates a manual DB snapshot with a new engine version. The snapshot can be encrypted or unencrypted, but not shared or public.

Amazon RDS supports upgrading DB snapshots for MySQL, PostgreSQL, and Oracle. This operation doesn't apply to RDS Custom or RDS for Db2.

", "ModifyDBSnapshotAttribute": "

Adds an attribute and values to, or removes an attribute and values from, a manual DB snapshot.

To share a manual DB snapshot with other Amazon Web Services accounts, specify restore as the AttributeName and use the ValuesToAdd parameter to add a list of IDs of the Amazon Web Services accounts that are authorized to restore the manual DB snapshot. Uses the value all to make the manual DB snapshot public, which means it can be copied or restored by all Amazon Web Services accounts.

Don't add the all value for any manual DB snapshots that contain private information that you don't want available to all Amazon Web Services accounts.

If the manual DB snapshot is encrypted, it can be shared, but only by specifying a list of authorized Amazon Web Services account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case.

To view which Amazon Web Services accounts have access to copy or restore a manual DB snapshot, or whether a manual DB snapshot public or private, use the DescribeDBSnapshotAttributes API operation. The accounts are returned as values for the restore attribute.

", "ModifyDBSubnetGroup": "

Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the Amazon Web Services Region.

", @@ -802,6 +804,18 @@ "DBProxyTargetGroup$ConnectionPoolConfig": "

The settings that determine the size and behavior of the connection pool for the target group.

" } }, + "ContextAttribute": { + "base": "

The additional attributes of RecommendedAction data type.

", + "refs": { + "ContextAttributeList$member": null + } + }, + "ContextAttributeList": { + "base": null, + "refs": { + "RecommendedAction$ContextAttributes": "

The supporting attributes to explain the recommended action.

" + } + }, "CopyDBClusterParameterGroupMessage": { "base": null, "refs": { @@ -1693,6 +1707,29 @@ "refs": { } }, + "DBRecommendation": { + "base": "

The recommendation for your DB instances, DB clusters, and DB parameter groups.

", + "refs": { + "DBRecommendationList$member": null, + "DBRecommendationMessage$DBRecommendation": null + } + }, + "DBRecommendationList": { + "base": null, + "refs": { + "DBRecommendationsMessage$DBRecommendations": "

A list of recommendations which is returned from DescribeDBRecommendations API request.

" + } + }, + "DBRecommendationMessage": { + "base": null, + "refs": { + } + }, + "DBRecommendationsMessage": { + "base": null, + "refs": { + } + }, "DBSecurityGroup": { "base": "

Contains the details for an Amazon RDS DB security group.

This data type is used as a response element in the DescribeDBSecurityGroups action.

", "refs": { @@ -2214,6 +2251,11 @@ "refs": { } }, + "DescribeDBRecommendationsMessage": { + "base": null, + "refs": { + } + }, "DescribeDBSecurityGroupsMessage": { "base": "

", "refs": { @@ -2356,6 +2398,18 @@ "ModifyCustomDBEngineVersionMessage$Description": "

An optional description of your CEV.

" } }, + "DocLink": { + "base": "

A link to documentation that provides additional information for a recommendation.

", + "refs": { + "DocLinkList$member": null + } + }, + "DocLinkList": { + "base": null, + "refs": { + "DBRecommendation$Links": "

A link to documentation that provides additional information about the recommendation.

" + } + }, "DomainMembership": { "base": "

An Active Directory Domain membership record associated with the DB instance or cluster.

", "refs": { @@ -2383,7 +2437,8 @@ "ReservedDBInstance$FixedPrice": "

The fixed price charged for this reserved DB instance.

", "ReservedDBInstance$UsagePrice": "

The hourly price charged for this reserved DB instance.

", "ReservedDBInstancesOffering$FixedPrice": "

The fixed price charged for this offering.

", - "ReservedDBInstancesOffering$UsagePrice": "

The hourly price charged for this offering.

" + "ReservedDBInstancesOffering$UsagePrice": "

The hourly price charged for this offering.

", + "ScalarReferenceDetails$Value": "

The value of a scalar reference.

" } }, "DoubleOptional": { @@ -2620,7 +2675,7 @@ } }, "Filter": { - "base": "

A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as IDs. The filters supported by a describe operation are documented with the describe operation.

Currently, wildcards are not supported in filters.

The following actions can be filtered:

", + "base": "

A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as IDs. The filters supported by a describe operation are documented with the describe operation.

Currently, wildcards are not supported in filters.

The following actions can be filtered:

", "refs": { "FilterList$member": null } @@ -2647,6 +2702,7 @@ "DescribeDBProxyEndpointsRequest$Filters": "

This parameter is not currently supported.

", "DescribeDBProxyTargetGroupsRequest$Filters": "

This parameter is not currently supported.

", "DescribeDBProxyTargetsRequest$Filters": "

This parameter is not currently supported.

", + "DescribeDBRecommendationsMessage$Filters": "

A filter that specifies one or more recommendations to describe.

Supported Filters:

", "DescribeDBSecurityGroupsMessage$Filters": "

This parameter isn't currently supported.

", "DescribeDBSnapshotTenantDatabasesMessage$Filters": "

A filter that specifies one or more tenant databases to describe.

Supported filters:

", "DescribeDBSnapshotsMessage$Filters": "

A filter that specifies one or more DB snapshots to describe.

Supported filters:

", @@ -2818,6 +2874,7 @@ "Endpoint$Port": "

Specifies the port that the database engine is listening on.

", "ExportTask$PercentProgress": "

The progress of the snapshot or cluster export task as a percentage.

", "ExportTask$TotalExtractedDataInGB": "

The total amount of data exported, in gigabytes.

", + "PerformanceInsightsMetricDimensionGroup$Limit": "

The maximum number of items to fetch for this dimension group.

", "Range$From": "

The minimum value in the range.

", "Range$To": "

The maximum value in the range.

", "ReservedDBInstance$Duration": "

The duration of the reservation in seconds.

", @@ -2895,6 +2952,7 @@ "DescribeDBLogFilesMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so you can retrieve the remaining results.

", "DescribeDBParameterGroupsMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

", "DescribeDBParametersMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

", + "DescribeDBRecommendationsMessage$MaxRecords": "

The maximum number of recommendations to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

", "DescribeDBSecurityGroupsMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

", "DescribeDBSnapshotTenantDatabasesMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

", "DescribeDBSnapshotsMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

", @@ -3194,6 +3252,13 @@ "refs": { } }, + "IssueDetails": { + "base": "

The details of an issue with your DB instances, DB clusters, and DB parameter groups.

", + "refs": { + "DBRecommendation$IssueDetails": "

Details of the issue that caused the recommendation.

", + "RecommendedAction$IssueDetails": "

The details of the issue.

" + } + }, "KMSKeyNotAccessibleFault": { "base": "

An error occurred accessing an Amazon Web Services KMS key.

", "refs": { @@ -3291,6 +3356,36 @@ "DescribeExportTasksMessage$MaxRecords": "

The maximum number of records to include in the response. If more records exist than the specified value, a pagination token called a marker is included in the response. You can use the marker in a later DescribeExportTasks request to retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

" } }, + "Metric": { + "base": "

The representation of a metric.

", + "refs": { + "MetricList$member": null + } + }, + "MetricList": { + "base": null, + "refs": { + "PerformanceIssueDetails$Metrics": "

The metrics that are relevant to the performance issue.

" + } + }, + "MetricQuery": { + "base": "

The query to retrieve metric data points.

", + "refs": { + "Metric$MetricQuery": "

The query to retrieve metric data points.

" + } + }, + "MetricReference": { + "base": "

The reference (threshold) for a metric.

", + "refs": { + "MetricReferenceList$member": null + } + }, + "MetricReferenceList": { + "base": null, + "refs": { + "Metric$References": "

A list of metric references (thresholds).

" + } + }, "MinimumEngineVersionPerAllowedValue": { "base": "

The minimum DB engine version required for each corresponding allowed value for an option setting.

", "refs": { @@ -3408,6 +3503,11 @@ "refs": { } }, + "ModifyDBRecommendationMessage": { + "base": null, + "refs": { + } + }, "ModifyDBSnapshotAttributeMessage": { "base": "

", "refs": { @@ -3709,6 +3809,24 @@ "DBInstance$PendingModifiedValues": "

Information about pending changes to the DB instance. This information is returned only when there are pending changes. Specific changes are identified by subelements.

" } }, + "PerformanceInsightsMetricDimensionGroup": { + "base": "

A logical grouping of Performance Insights metrics for a related subject area. For example, the db.sql dimension group consists of the following dimensions:

Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.

", + "refs": { + "PerformanceInsightsMetricQuery$GroupBy": "

A specification for how to aggregate the data points from a query result. You must specify a valid dimension group. Performance Insights will return all of the dimensions within that group, unless you provide the names of specific dimensions within that group. You can also request that Performance Insights return a limited number of values for a dimension.

" + } + }, + "PerformanceInsightsMetricQuery": { + "base": "

A single Performance Insights metric query to process. You must provide the metric to the query. If other parameters aren't specified, Performance Insights returns all data points for the specified metric. Optionally, you can request the data points to be aggregated by dimension group (GroupBy) and return only those data points that match your criteria (Filter).

Constraints:

", + "refs": { + "MetricQuery$PerformanceInsightsMetricQuery": "

The Performance Insights query that you can use to retrieve Performance Insights metric data points.

" + } + }, + "PerformanceIssueDetails": { + "base": "

Details of the performance issue.

", + "refs": { + "IssueDetails$PerformanceIssueDetails": "

A detailed description of the issue when the recommendation category is performance.

" + } + }, "PointInTimeRestoreNotEnabledFault": { "base": "

SourceDBInstanceIdentifier refers to a DB instance with BackupRetentionPeriod equal to 0.

", "refs": { @@ -3837,6 +3955,42 @@ "refs": { } }, + "RecommendedAction": { + "base": "

The recommended actions to apply to resolve the issues associated with your DB instances, DB clusters, and DB parameter groups.

", + "refs": { + "RecommendedActionList$member": null + } + }, + "RecommendedActionList": { + "base": null, + "refs": { + "DBRecommendation$RecommendedActions": "

A list of recommended actions.

" + } + }, + "RecommendedActionParameter": { + "base": "

A single parameter to use with the RecommendedAction API operation to apply the action.

", + "refs": { + "RecommendedActionParameterList$member": null + } + }, + "RecommendedActionParameterList": { + "base": null, + "refs": { + "RecommendedAction$Parameters": "

The parameters for the API operation.

" + } + }, + "RecommendedActionUpdate": { + "base": "

The recommended status to update for the specified recommendation action ID.

", + "refs": { + "RecommendedActionUpdateList$member": null + } + }, + "RecommendedActionUpdateList": { + "base": null, + "refs": { + "ModifyDBRecommendationMessage$RecommendedActionUpdates": "

The list of recommended action status to update. You can update multiple recommended actions at one time.

" + } + }, "RecurringCharge": { "base": "

This data type is used as a response element in the DescribeReservedDBInstances and DescribeReservedDBInstancesOfferings actions.

", "refs": { @@ -3850,6 +4004,12 @@ "ReservedDBInstancesOffering$RecurringCharges": "

The recurring price charged to run this reserved DB instance.

" } }, + "ReferenceDetails": { + "base": "

The reference details of a metric.

", + "refs": { + "MetricReference$ReferenceDetails": "

The details of a performance issue.

" + } + }, "RegisterDBProxyTargetsRequest": { "base": null, "refs": { @@ -4073,6 +4233,12 @@ "refs": { } }, + "ScalarReferenceDetails": { + "base": "

The metric reference details when the reference is a scalar.

", + "refs": { + "ReferenceDetails$ScalarReferenceDetails": "

The metric reference details when the reference is a scalar.

" + } + }, "ScalingConfiguration": { "base": "

Contains the scaling configuration of an Aurora Serverless v1 DB cluster.

For more information, see Using Amazon Aurora Serverless v1 in the Amazon Aurora User Guide.

", "refs": { @@ -4321,6 +4487,8 @@ "ClusterPendingModifiedValues$StorageType": "

The storage type for the DB cluster.

", "ConnectionPoolConfiguration$InitQuery": "

One or more SQL statements for the proxy to run when opening each new database connection. Typically used with SET statements to make sure that each connection has identical settings such as time zone and character set. For multiple statements, use semicolons as the separator. You can also include multiple variables in a single SET statement, such as SET x=1, y=2.

Default: no initialization query

", "ConnectionPoolConfigurationInfo$InitQuery": "

One or more SQL statements for the proxy to run when opening each new database connection. Typically used with SET statements to make sure that each connection has identical settings such as time zone and character set. This setting is empty by default. For multiple statements, use semicolons as the separator. You can also include multiple variables in a single SET statement, such as SET x=1, y=2.

", + "ContextAttribute$Key": "

The key of ContextAttribute.

", + "ContextAttribute$Value": "

The value of ContextAttribute.

", "CopyDBClusterParameterGroupMessage$SourceDBClusterParameterGroupIdentifier": "

The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon Aurora User Guide.

Constraints:

", "CopyDBClusterParameterGroupMessage$TargetDBClusterParameterGroupIdentifier": "

The identifier for the copied DB cluster parameter group.

Constraints:

Example: my-cluster-param-group1

", "CopyDBClusterParameterGroupMessage$TargetDBClusterParameterGroupDescription": "

A description for the copied DB cluster parameter group.

", @@ -4662,6 +4830,22 @@ "DBProxyTargetGroup$TargetGroupName": "

The identifier for the target group. This name must be unique for all target groups owned by your Amazon Web Services account in the specified Amazon Web Services Region.

", "DBProxyTargetGroup$TargetGroupArn": "

The Amazon Resource Name (ARN) representing the target group.

", "DBProxyTargetGroup$Status": "

The current status of this target group. A status of available means the target group is correctly associated with a database. Other values indicate that you must wait for the target group to be ready, or take some action to resolve an issue.

", + "DBRecommendation$RecommendationId": "

The unique identifier of the recommendation.

", + "DBRecommendation$TypeId": "

A value that indicates the type of recommendation. This value determines how the description is rendered.

", + "DBRecommendation$Severity": "

The severity level of the recommendation. The severity level can help you decide the urgency with which to address the recommendation.

Valid values:

", + "DBRecommendation$ResourceArn": "

The Amazon Resource Name (ARN) of the RDS resource associated with the recommendation.

", + "DBRecommendation$Status": "

The current status of the recommendation.

Valid values:

", + "DBRecommendation$Detection": "

A short description of the issue identified for this recommendation. The description might contain markdown.

", + "DBRecommendation$Recommendation": "

A short description of the recommendation to resolve an issue. The description might contain markdown.

", + "DBRecommendation$Description": "

A detailed description of the recommendation. The description might contain markdown.

", + "DBRecommendation$Reason": "

The reason why this recommendation was created. The information might contain markdown.

", + "DBRecommendation$Category": "

The category of the recommendation.

Valid values:

", + "DBRecommendation$Source": "

The Amazon Web Services service that generated the recommendations.

", + "DBRecommendation$TypeDetection": "

A short description of the recommendation type. The description might contain markdown.

", + "DBRecommendation$TypeRecommendation": "

A short description that summarizes the recommendation to fix all the issues of the recommendation type. The description might contain markdown.

", + "DBRecommendation$Impact": "

A short description that explains the possible impact of an issue.

", + "DBRecommendation$AdditionalInfo": "

Additional information about the recommendation. The information might contain markdown.

", + "DBRecommendationsMessage$Marker": "

An optional pagination token provided by a previous DBRecommendationsMessage request. This token can be used later in a DescribeDBRecomendations request.

", "DBSecurityGroup$OwnerId": "

Provides the Amazon Web Services ID of the owner of a specific DB security group.

", "DBSecurityGroup$DBSecurityGroupName": "

Specifies the name of the DB security group.

", "DBSecurityGroup$DBSecurityGroupDescription": "

Provides the description of the DB security group.

", @@ -4795,6 +4979,8 @@ "DescribeDBProxyTargetsRequest$TargetGroupName": "

The identifier of the DBProxyTargetGroup to describe.

", "DescribeDBProxyTargetsRequest$Marker": "

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", "DescribeDBProxyTargetsResponse$Marker": "

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", + "DescribeDBRecommendationsMessage$Locale": "

The language that you choose to return the list of recommendations.

Valid values:

", + "DescribeDBRecommendationsMessage$Marker": "

An optional pagination token provided by a previous DescribeDBRecommendations request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", "DescribeDBSecurityGroupsMessage$DBSecurityGroupName": "

The name of the DB security group to return details for.

", "DescribeDBSecurityGroupsMessage$Marker": "

An optional pagination token provided by a previous DescribeDBSecurityGroups request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", "DescribeDBSnapshotAttributesMessage$DBSnapshotIdentifier": "

The identifier for the DB snapshot to describe the attributes for.

", @@ -4859,6 +5045,8 @@ "DescribeTenantDatabasesMessage$TenantDBName": "

The user-supplied tenant database name, which must match the name of an existing tenant database on the specified DB instance owned by your Amazon Web Services account. This parameter isn’t case-sensitive.

", "DescribeTenantDatabasesMessage$Marker": "

An optional pagination token provided by a previous DescribeTenantDatabases request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

", "DescribeValidDBInstanceModificationsMessage$DBInstanceIdentifier": "

The customer identifier or the ARN of your DB instance.

", + "DocLink$Text": "

The text with the link to documentation for the recommendation.

", + "DocLink$Url": "

The URL for the documentation for the recommendation.

", "DomainMembership$Domain": "

The identifier of the Active Directory Domain.

", "DomainMembership$Status": "

The status of the Active Directory Domain membership for the DB instance or cluster. Values include joined, pending-join, failed, and so on.

", "DomainMembership$FQDN": "

The fully qualified domain name (FQDN) of the Active Directory Domain.

", @@ -4932,6 +5120,9 @@ "MasterUserSecret$SecretArn": "

The Amazon Resource Name (ARN) of the secret.

", "MasterUserSecret$SecretStatus": "

The status of the secret.

The possible status values include the following:

", "MasterUserSecret$KmsKeyId": "

The Amazon Web Services KMS key identifier that is used to encrypt the secret.

", + "Metric$Name": "

The name of a metric.

", + "Metric$StatisticsDetails": "

The details of different statistics for a metric. The description might contain markdown.

", + "MetricReference$Name": "

The name of the metric reference.

", "MinimumEngineVersionPerAllowedValue$AllowedValue": "

The allowed value for an option setting.

", "MinimumEngineVersionPerAllowedValue$MinimumEngineVersion": "

The minimum DB engine version required for the allowed value.

", "ModifyActivityStreamRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the RDS for Oracle or Microsoft SQL Server DB instance. For example, arn:aws:rds:us-east-1:12345667890:instance:my-orcl-db.

", @@ -4995,6 +5186,9 @@ "ModifyDBProxyTargetGroupRequest$TargetGroupName": "

The name of the target group to modify.

", "ModifyDBProxyTargetGroupRequest$DBProxyName": "

The name of the proxy.

", "ModifyDBProxyTargetGroupRequest$NewName": "

The new name for the modified DBProxyTarget. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.

", + "ModifyDBRecommendationMessage$RecommendationId": "

The identifier of the recommendation to update.

", + "ModifyDBRecommendationMessage$Locale": "

The language of the modified recommendation.

", + "ModifyDBRecommendationMessage$Status": "

The recommendation status to update.

Valid values:

", "ModifyDBSnapshotAttributeMessage$DBSnapshotIdentifier": "

The identifier for the DB snapshot to modify the attributes for.

", "ModifyDBSnapshotAttributeMessage$AttributeName": "

The name of the DB snapshot attribute to modify.

To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB snapshot, set this value to restore.

To view the list of attributes available to modify, use the DescribeDBSnapshotAttributes API operation.

", "ModifyDBSnapshotMessage$DBSnapshotIdentifier": "

The identifier of the DB snapshot to modify.

", @@ -5079,6 +5273,9 @@ "PendingModifiedValues$CACertificateIdentifier": "

The identifier of the CA certificate for the DB instance.

For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.

", "PendingModifiedValues$DBSubnetGroupName": "

The DB subnet group for the DB instance.

", "PendingModifiedValues$Engine": "

The database engine of the DB instance.

", + "PerformanceInsightsMetricDimensionGroup$Group": "

The available dimension groups for Performance Insights metric type.

", + "PerformanceInsightsMetricQuery$Metric": "

The name of a Performance Insights metric to be measured.

Valid Values:

If the number of active sessions is less than an internal Performance Insights threshold, db.load.avg and db.sampledload.avg are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with db.load.avg showing the scaled values, db.sampledload.avg showing the raw values, and db.sampledload.avg less than db.load.avg. For most use cases, you can query db.load.avg only.

", + "PerformanceIssueDetails$Analysis": "

The analysis of the performance issue. The information might contain markdown.

", "ProcessorFeature$Name": "

The name of the processor feature. Valid names are coreCount and threadsPerCore.

", "ProcessorFeature$Value": "

The value of a processor feature name.

", "PromoteReadReplicaDBClusterMessage$DBClusterIdentifier": "

The identifier of the DB cluster read replica to promote. This parameter isn't case-sensitive.

Constraints:

Example: my-cluster-replica1

", @@ -5094,6 +5291,15 @@ "ReadersArnList$member": null, "RebootDBClusterMessage$DBClusterIdentifier": "

The DB cluster identifier. This parameter is stored as a lowercase string.

Constraints:

", "RebootDBInstanceMessage$DBInstanceIdentifier": "

The DB instance identifier. This parameter is stored as a lowercase string.

Constraints:

", + "RecommendedAction$ActionId": "

The unique identifier of the recommended action.

", + "RecommendedAction$Title": "

A short description to summarize the action. The description might contain markdown.

", + "RecommendedAction$Description": "

A detailed description of the action. The description might contain markdown.

", + "RecommendedAction$Operation": "

An API operation for the action.

", + "RecommendedAction$Status": "

The status of the action.

", + "RecommendedActionParameter$Key": "

The key of the parameter to use with the RecommendedAction API operation.

", + "RecommendedActionParameter$Value": "

The value of the parameter to use with the RecommendedAction API operation.

", + "RecommendedActionUpdate$ActionId": "

A unique identifier of the updated recommendation action.

", + "RecommendedActionUpdate$Status": "

The status of the updated recommendation action.

", "RecurringCharge$RecurringChargeFrequency": "

The frequency of the recurring charge.

", "RegisterDBProxyTargetsRequest$DBProxyName": "

The identifier of the DBProxy that is associated with the DBProxyTargetGroup.

", "RegisterDBProxyTargetsRequest$TargetGroupName": "

The identifier of the DBProxyTargetGroup.

", @@ -5357,6 +5563,8 @@ "ModifyDBProxyEndpointRequest$VpcSecurityGroupIds": "

The VPC security group IDs for the DB proxy endpoint. When the DB proxy endpoint uses a different VPC than the original proxy, you also specify a different set of security group IDs than for the original proxy.

", "ModifyDBProxyRequest$SecurityGroups": "

The new list of security groups for the DBProxy.

", "OrderableDBInstanceOption$SupportedNetworkTypes": "

The network types supported by the DB instance (IPV4 or DUAL).

A DB instance can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL).

For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.

", + "PerformanceInsightsMetricDimensionGroup$Dimensions": "

A list of specific dimensions from a dimension group. If this list isn't included, then all of the dimensions in the group were requested, or are present in the response.

", + "RecommendedAction$ApplyModes": "

The methods to apply the recommended action.

Valid values:

", "RegisterDBProxyTargetsRequest$DBInstanceIdentifiers": "

One or more DB instance identifiers.

", "RegisterDBProxyTargetsRequest$DBClusterIdentifiers": "

One or more DB cluster identifiers.

", "RestoreDBInstanceFromDBSnapshotMessage$DomainDnsIps": "

The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers.

Constraints:

Example: 123.124.125.126,234.235.236.237

", @@ -5503,11 +5711,15 @@ "DBProxyEndpoint$CreatedDate": "

The date and time when the DB proxy endpoint was first created.

", "DBProxyTargetGroup$CreatedDate": "

The date and time when the target group was first created.

", "DBProxyTargetGroup$UpdatedDate": "

The date and time when the target group was last updated.

", + "DBRecommendation$CreatedTime": "

The time when the recommendation was created. For example, 2023-09-28T01:13:53.931000+00:00.

", + "DBRecommendation$UpdatedTime": "

The time when the recommendation was last updated.

", "DBSnapshot$SnapshotCreateTime": "

Specifies when the snapshot was taken in Coordinated Universal Time (UTC). Changes for the copy when the snapshot is copied.

", "DBSnapshot$InstanceCreateTime": "

Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.

", "DBSnapshot$OriginalSnapshotCreateTime": "

Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied.

", "DBSnapshot$SnapshotDatabaseTime": "

The timestamp of the most recent transaction applied to the database that you're backing up. Thus, if you restore a snapshot, SnapshotDatabaseTime is the most recent transaction in the restored DB instance. In contrast, originalSnapshotCreateTime specifies the system time that the snapshot completed.

If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then the replica lag is two hours.

", "DBSnapshotTenantDatabase$TenantDatabaseCreateTime": "

The time the DB snapshot was taken, specified in Coordinated Universal Time (UTC). If you copy the snapshot, the creation time changes.

", + "DescribeDBRecommendationsMessage$LastUpdatedAfter": "

A filter to include only the recommendations that were updated after this specified time.

", + "DescribeDBRecommendationsMessage$LastUpdatedBefore": "

A filter to include only the recommendations that were updated before this specified time.

", "DescribeEventsMessage$StartTime": "

The beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.

Example: 2009-07-08T18:00Z

", "DescribeEventsMessage$EndTime": "

The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.

Example: 2009-07-08T18:00Z

", "Event$Date": "

Specifies the date and time of the event.

", @@ -5520,6 +5732,8 @@ "PendingMaintenanceAction$ForcedApplyDate": "

The date when the maintenance action is automatically applied.

On this date, the maintenance action is applied to the resource as soon as possible, regardless of the maintenance window for the resource. There might be a delay of one or more days from this date before the maintenance action is applied.

", "PendingMaintenanceAction$CurrentApplyDate": "

The effective date when the pending maintenance action is applied to the resource. This date takes into account opt-in requests received from the ApplyPendingMaintenanceAction API, the AutoAppliedAfterDate, and the ForcedApplyDate. This value is blank if an opt-in request has not been received and nothing has been specified as AutoAppliedAfterDate or ForcedApplyDate.

", "PendingModifiedValues$ResumeFullAutomationModeTime": "

The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full automation. The minimum value is 60 (default). The maximum value is 1,440.

", + "PerformanceIssueDetails$StartTime": "

The time when the performance issue started.

", + "PerformanceIssueDetails$EndTime": "

The time when the performance issue stopped.

", "ReservedDBInstance$StartTime": "

The time the reservation started.

", "RestoreDBClusterToPointInTimeMessage$RestoreToTime": "

The date and time to restore the DB cluster to.

Valid Values: Value must be a time in Universal Coordinated Time (UTC) format

Constraints:

Example: 2015-03-07T23:45:00Z

Valid for: Aurora DB clusters and Multi-AZ DB clusters

", "RestoreDBInstanceToPointInTimeMessage$RestoreTime": "

The date and time to restore from.

Constraints:

Example: 2009-09-07T23:45:00Z

", diff --git a/models/apis/rds/2014-10-31/paginators-1.json b/models/apis/rds/2014-10-31/paginators-1.json index 485eefd5d98..5e651ddc195 100644 --- a/models/apis/rds/2014-10-31/paginators-1.json +++ b/models/apis/rds/2014-10-31/paginators-1.json @@ -114,6 +114,12 @@ "output_token": "Marker", "result_key": "Targets" }, + "DescribeDBRecommendations": { + "input_token": "Marker", + "limit_key": "MaxRecords", + "output_token": "Marker", + "result_key": "DBRecommendations" + }, "DescribeDBSecurityGroups": { "input_token": "Marker", "limit_key": "MaxRecords", diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 5760477aa84..87f0bce447c 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -8564,6 +8564,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -11221,14 +11222,17 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "me-central-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, "us-east-2" : { }, diff --git a/service/appsync/api.go b/service/appsync/api.go index c576590b848..ae441ac8856 100644 --- a/service/appsync/api.go +++ b/service/appsync/api.go @@ -8187,6 +8187,14 @@ type CreateGraphqlApiInput struct { // AuthenticationType is a required field AuthenticationType *string `locationName:"authenticationType" type:"string" required:"true" enum:"AuthenticationType"` + // Sets the value of the GraphQL API to enable (ENABLED) or disable (DISABLED) + // introspection. If no value is provided, the introspection configuration will + // be set to ENABLED by default. This field will produce an error if the operation + // attempts to use the introspection feature while this field is disabled. + // + // For more information about introspection, see GraphQL introspection (https://graphql.org/learn/introspection/). + IntrospectionConfig *string `locationName:"introspectionConfig" type:"string" enum:"GraphQLApiIntrospectionConfig"` + // Configuration for Lambda function authorization. LambdaAuthorizerConfig *LambdaAuthorizerConfig `locationName:"lambdaAuthorizerConfig" type:"structure"` @@ -8212,6 +8220,23 @@ type CreateGraphqlApiInput struct { // This field accepts any string input with a length of 0 - 256 characters. OwnerContact *string `locationName:"ownerContact" type:"string"` + // The maximum depth a query can have in a single request. Depth refers to the + // amount of nested levels allowed in the body of query. The default value is + // 0 (or unspecified), which indicates there's no depth limit. If you set a + // limit, it can be between 1 and 75 nested levels. This field will produce + // a limit error if the operation falls out of bounds. + // + // Note that fields can still be set to nullable or non-nullable. If a non-nullable + // field produces an error, the error will be thrown upwards to the first nullable + // field available. + QueryDepthLimit *int64 `locationName:"queryDepthLimit" type:"integer"` + + // The maximum number of resolvers that can be invoked in a single request. + // The default value is 0 (or unspecified), which will set the limit to 10000. + // When specified, the limit value can be between 1 and 10000. This field will + // produce a limit error if the operation falls out of bounds. + ResolverCountLimit *int64 `locationName:"resolverCountLimit" type:"integer"` + // A TagMap object. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` @@ -8312,6 +8337,12 @@ func (s *CreateGraphqlApiInput) SetAuthenticationType(v string) *CreateGraphqlAp return s } +// SetIntrospectionConfig sets the IntrospectionConfig field's value. +func (s *CreateGraphqlApiInput) SetIntrospectionConfig(v string) *CreateGraphqlApiInput { + s.IntrospectionConfig = &v + return s +} + // SetLambdaAuthorizerConfig sets the LambdaAuthorizerConfig field's value. func (s *CreateGraphqlApiInput) SetLambdaAuthorizerConfig(v *LambdaAuthorizerConfig) *CreateGraphqlApiInput { s.LambdaAuthorizerConfig = v @@ -8348,6 +8379,18 @@ func (s *CreateGraphqlApiInput) SetOwnerContact(v string) *CreateGraphqlApiInput return s } +// SetQueryDepthLimit sets the QueryDepthLimit field's value. +func (s *CreateGraphqlApiInput) SetQueryDepthLimit(v int64) *CreateGraphqlApiInput { + s.QueryDepthLimit = &v + return s +} + +// SetResolverCountLimit sets the ResolverCountLimit field's value. +func (s *CreateGraphqlApiInput) SetResolverCountLimit(v int64) *CreateGraphqlApiInput { + s.ResolverCountLimit = &v + return s +} + // SetTags sets the Tags field's value. func (s *CreateGraphqlApiInput) SetTags(v map[string]*string) *CreateGraphqlApiInput { s.Tags = v @@ -12291,6 +12334,14 @@ type GraphqlApi struct { // The DNS records for the API. Dns map[string]*string `locationName:"dns" type:"map"` + // Sets the value of the GraphQL API to enable (ENABLED) or disable (DISABLED) + // introspection. If no value is provided, the introspection configuration will + // be set to ENABLED by default. This field will produce an error if the operation + // attempts to use the introspection feature while this field is disabled. + // + // For more information about introspection, see GraphQL introspection (https://graphql.org/learn/introspection/). + IntrospectionConfig *string `locationName:"introspectionConfig" type:"string" enum:"GraphQLApiIntrospectionConfig"` + // Configuration for Lambda function authorization. LambdaAuthorizerConfig *LambdaAuthorizerConfig `locationName:"lambdaAuthorizerConfig" type:"structure"` @@ -12317,6 +12368,23 @@ type GraphqlApi struct { // This field accepts any string input with a length of 0 - 256 characters. OwnerContact *string `locationName:"ownerContact" type:"string"` + // The maximum depth a query can have in a single request. Depth refers to the + // amount of nested levels allowed in the body of query. The default value is + // 0 (or unspecified), which indicates there's no depth limit. If you set a + // limit, it can be between 1 and 75 nested levels. This field will produce + // a limit error if the operation falls out of bounds. + // + // Note that fields can still be set to nullable or non-nullable. If a non-nullable + // field produces an error, the error will be thrown upwards to the first nullable + // field available. + QueryDepthLimit *int64 `locationName:"queryDepthLimit" type:"integer"` + + // The maximum number of resolvers that can be invoked in a single request. + // The default value is 0 (or unspecified), which will set the limit to 10000. + // When specified, the limit value can be between 1 and 10000. This field will + // produce a limit error if the operation falls out of bounds. + ResolverCountLimit *int64 `locationName:"resolverCountLimit" type:"integer"` + // The tags. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` @@ -12393,6 +12461,12 @@ func (s *GraphqlApi) SetDns(v map[string]*string) *GraphqlApi { return s } +// SetIntrospectionConfig sets the IntrospectionConfig field's value. +func (s *GraphqlApi) SetIntrospectionConfig(v string) *GraphqlApi { + s.IntrospectionConfig = &v + return s +} + // SetLambdaAuthorizerConfig sets the LambdaAuthorizerConfig field's value. func (s *GraphqlApi) SetLambdaAuthorizerConfig(v *LambdaAuthorizerConfig) *GraphqlApi { s.LambdaAuthorizerConfig = v @@ -12435,6 +12509,18 @@ func (s *GraphqlApi) SetOwnerContact(v string) *GraphqlApi { return s } +// SetQueryDepthLimit sets the QueryDepthLimit field's value. +func (s *GraphqlApi) SetQueryDepthLimit(v int64) *GraphqlApi { + s.QueryDepthLimit = &v + return s +} + +// SetResolverCountLimit sets the ResolverCountLimit field's value. +func (s *GraphqlApi) SetResolverCountLimit(v int64) *GraphqlApi { + s.ResolverCountLimit = &v + return s +} + // SetTags sets the Tags field's value. func (s *GraphqlApi) SetTags(v map[string]*string) *GraphqlApi { s.Tags = v @@ -16526,6 +16612,14 @@ type UpdateGraphqlApiInput struct { // The new authentication type for the GraphqlApi object. AuthenticationType *string `locationName:"authenticationType" type:"string" enum:"AuthenticationType"` + // Sets the value of the GraphQL API to enable (ENABLED) or disable (DISABLED) + // introspection. If no value is provided, the introspection configuration will + // be set to ENABLED by default. This field will produce an error if the operation + // attempts to use the introspection feature while this field is disabled. + // + // For more information about introspection, see GraphQL introspection (https://graphql.org/learn/introspection/). + IntrospectionConfig *string `locationName:"introspectionConfig" type:"string" enum:"GraphQLApiIntrospectionConfig"` + // Configuration for Lambda function authorization. LambdaAuthorizerConfig *LambdaAuthorizerConfig `locationName:"lambdaAuthorizerConfig" type:"structure"` @@ -16551,6 +16645,23 @@ type UpdateGraphqlApiInput struct { // This field accepts any string input with a length of 0 - 256 characters. OwnerContact *string `locationName:"ownerContact" type:"string"` + // The maximum depth a query can have in a single request. Depth refers to the + // amount of nested levels allowed in the body of query. The default value is + // 0 (or unspecified), which indicates there's no depth limit. If you set a + // limit, it can be between 1 and 75 nested levels. This field will produce + // a limit error if the operation falls out of bounds. + // + // Note that fields can still be set to nullable or non-nullable. If a non-nullable + // field produces an error, the error will be thrown upwards to the first nullable + // field available. + QueryDepthLimit *int64 `locationName:"queryDepthLimit" type:"integer"` + + // The maximum number of resolvers that can be invoked in a single request. + // The default value is 0 (or unspecified), which will set the limit to 10000. + // When specified, the limit value can be between 1 and 10000. This field will + // produce a limit error if the operation falls out of bounds. + ResolverCountLimit *int64 `locationName:"resolverCountLimit" type:"integer"` + // The new Amazon Cognito user pool configuration for the ~GraphqlApi object. UserPoolConfig *UserPoolConfig `locationName:"userPoolConfig" type:"structure"` @@ -16643,6 +16754,12 @@ func (s *UpdateGraphqlApiInput) SetAuthenticationType(v string) *UpdateGraphqlAp return s } +// SetIntrospectionConfig sets the IntrospectionConfig field's value. +func (s *UpdateGraphqlApiInput) SetIntrospectionConfig(v string) *UpdateGraphqlApiInput { + s.IntrospectionConfig = &v + return s +} + // SetLambdaAuthorizerConfig sets the LambdaAuthorizerConfig field's value. func (s *UpdateGraphqlApiInput) SetLambdaAuthorizerConfig(v *LambdaAuthorizerConfig) *UpdateGraphqlApiInput { s.LambdaAuthorizerConfig = v @@ -16679,6 +16796,18 @@ func (s *UpdateGraphqlApiInput) SetOwnerContact(v string) *UpdateGraphqlApiInput return s } +// SetQueryDepthLimit sets the QueryDepthLimit field's value. +func (s *UpdateGraphqlApiInput) SetQueryDepthLimit(v int64) *UpdateGraphqlApiInput { + s.QueryDepthLimit = &v + return s +} + +// SetResolverCountLimit sets the ResolverCountLimit field's value. +func (s *UpdateGraphqlApiInput) SetResolverCountLimit(v int64) *UpdateGraphqlApiInput { + s.ResolverCountLimit = &v + return s +} + // SetUserPoolConfig sets the UserPoolConfig field's value. func (s *UpdateGraphqlApiInput) SetUserPoolConfig(v *UserPoolConfig) *UpdateGraphqlApiInput { s.UserPoolConfig = v @@ -17616,6 +17745,22 @@ func FieldLogLevel_Values() []string { } } +const ( + // GraphQLApiIntrospectionConfigEnabled is a GraphQLApiIntrospectionConfig enum value + GraphQLApiIntrospectionConfigEnabled = "ENABLED" + + // GraphQLApiIntrospectionConfigDisabled is a GraphQLApiIntrospectionConfig enum value + GraphQLApiIntrospectionConfigDisabled = "DISABLED" +) + +// GraphQLApiIntrospectionConfig_Values returns all elements of the GraphQLApiIntrospectionConfig enum +func GraphQLApiIntrospectionConfig_Values() []string { + return []string{ + GraphQLApiIntrospectionConfigEnabled, + GraphQLApiIntrospectionConfigDisabled, + } +} + const ( // GraphQLApiTypeGraphql is a GraphQLApiType enum value GraphQLApiTypeGraphql = "GRAPHQL" diff --git a/service/chimesdkmeetings/api.go b/service/chimesdkmeetings/api.go index 19fc3ea3011..a417cca08af 100644 --- a/service/chimesdkmeetings/api.go +++ b/service/chimesdkmeetings/api.go @@ -171,6 +171,15 @@ func (c *ChimeSDKMeetings) BatchUpdateAttendeeCapabilitiesExceptRequest(input *B // // When using capabilities, be aware of these corner cases: // +// - If you specify MeetingFeatures:Video:MaxResolution:None when you create +// a meeting, all API requests that include SendReceive, Send, or Receive +// for AttendeeCapabilities:Video will be rejected with ValidationError 400. +// +// - If you specify MeetingFeatures:Content:MaxResolution:None when you create +// a meeting, all API requests that include SendReceive, Send, or Receive +// for AttendeeCapabilities:Content will be rejected with ValidationError +// 400. +// // - You can't set content capabilities to SendReceive or Receive unless // you also set video capabilities to SendReceive or Receive. If you don't // set the video capability to receive, the response will contain an HTTP @@ -1271,10 +1280,18 @@ func (c *ChimeSDKMeetings) StartMeetingTranscriptionRequest(input *StartMeetingT // refer to the StartStreamTranscription (https://docs.aws.amazon.com/transcribe/latest/APIReference/API_streaming_StartStreamTranscription.html) // API in the Amazon Transcribe Developer Guide. // -// Amazon Chime SDK live transcription is powered by Amazon Transcribe. Use -// of Amazon Transcribe is subject to the AWS Service Terms (https://aws.amazon.com/service-terms/), -// including the terms specific to the AWS Machine Learning and Artificial Intelligence -// Services. +// By default, Amazon Transcribe may use and store audio content processed by +// the service to develop and improve Amazon Web Services AI/ML services as +// further described in section 50 of the Amazon Web Services Service Terms +// (https://aws.amazon.com/service-terms/). Using Amazon Transcribe may be subject +// to federal and state laws or regulations regarding the recording or interception +// of electronic communications. It is your and your end users’ responsibility +// to comply with all applicable laws regarding the recording, including properly +// notifying all participants in a recorded session or communication that the +// session or communication is being recorded, and obtaining all necessary consents. +// You can opt out from Amazon Web Services using audio content to develop and +// improve AWS AI/ML services by configuring an AI services opt out policy using +// Amazon Web Services Organizations. // // 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 @@ -1383,10 +1400,18 @@ func (c *ChimeSDKMeetings) StopMeetingTranscriptionRequest(input *StopMeetingTra // to Using Amazon Chime SDK live transcription (https://docs.aws.amazon.com/chime-sdk/latest/dg/meeting-transcription.html) // in the Amazon Chime SDK Developer Guide. // -// Amazon Chime SDK live transcription is powered by Amazon Transcribe. Use -// of Amazon Transcribe is subject to the AWS Service Terms (https://aws.amazon.com/service-terms/), -// including the terms specific to the AWS Machine Learning and Artificial Intelligence -// Services. +// By default, Amazon Transcribe may use and store audio content processed by +// the service to develop and improve Amazon Web Services AI/ML services as +// further described in section 50 of the Amazon Web Services Service Terms +// (https://aws.amazon.com/service-terms/). Using Amazon Transcribe may be subject +// to federal and state laws or regulations regarding the recording or interception +// of electronic communications. It is your and your end users’ responsibility +// to comply with all applicable laws regarding the recording, including properly +// notifying all participants in a recorded session or communication that the +// session or communication is being recorded, and obtaining all necessary consents. +// You can opt out from Amazon Web Services using audio content to develop and +// improve Amazon Web Services AI/ML services by configuring an AI services +// opt out policy using Amazon Web Services Organizations. // // 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 @@ -1602,8 +1627,8 @@ func (c *ChimeSDKMeetings) UntagResourceRequest(input *UntagResourceInput) (req // tags. For more information, see the documentation for the service whose // resource you want to untag. // -// - You can only tag resources that are located in the specified AWS Region -// for the calling AWS account. +// - You can only tag resources that are located in the specified Amazon +// Web Services Region for the calling Amazon Web Services account. // // # Minimum permissions // @@ -1723,6 +1748,15 @@ func (c *ChimeSDKMeetings) UpdateAttendeeCapabilitiesRequest(input *UpdateAttend // // When using capabilities, be aware of these corner cases: // +// - If you specify MeetingFeatures:Video:MaxResolution:None when you create +// a meeting, all API requests that include SendReceive, Send, or Receive +// for AttendeeCapabilities:Video will be rejected with ValidationError 400. +// +// - If you specify MeetingFeatures:Content:MaxResolution:None when you create +// a meeting, all API requests that include SendReceive, Send, or Receive +// for AttendeeCapabilities:Content will be rejected with ValidationError +// 400. +// // - You can't set content capabilities to SendReceive or Receive unless // you also set video capabilities to SendReceive or Receive. If you don't // set the video capability to receive, the response will contain an HTTP @@ -1815,6 +1849,15 @@ type Attendee struct { // // When using capabilities, be aware of these corner cases: // + // * If you specify MeetingFeatures:Video:MaxResolution:None when you create + // a meeting, all API requests that include SendReceive, Send, or Receive + // for AttendeeCapabilities:Video will be rejected with ValidationError 400. + // + // * If you specify MeetingFeatures:Content:MaxResolution:None when you create + // a meeting, all API requests that include SendReceive, Send, or Receive + // for AttendeeCapabilities:Content will be rejected with ValidationError + // 400. + // // * You can't set content capabilities to SendReceive or Receive unless // you also set video capabilities to SendReceive or Receive. If you don't // set the video capability to receive, the response will contain an HTTP @@ -1897,11 +1940,19 @@ func (s *Attendee) SetJoinToken(v string) *Attendee { // The media capabilities of an attendee: audio, video, or content. // // You use the capabilities with a set of values that control what the capabilities -// can do, such as SendReceive data. For more information about those values, -// see . +// can do, such as SendReceive data. For more information, refer to and . // // When using capabilities, be aware of these corner cases: // +// - If you specify MeetingFeatures:Video:MaxResolution:None when you create +// a meeting, all API requests that include SendReceive, Send, or Receive +// for AttendeeCapabilities:Video will be rejected with ValidationError 400. +// +// - If you specify MeetingFeatures:Content:MaxResolution:None when you create +// a meeting, all API requests that include SendReceive, Send, or Receive +// for AttendeeCapabilities:Content will be rejected with ValidationError +// 400. +// // - You can't set content capabilities to SendReceive or Receive unless // you also set video capabilities to SendReceive or Receive. If you don't // set the video capability to receive, the response will contain an HTTP @@ -1909,11 +1960,11 @@ func (s *Attendee) SetJoinToken(v string) *Attendee { // to receive and you set your content capability to not receive. // // - When you change an audio capability from None or Receive to Send or -// SendReceive , and if the attendee left their microphone unmuted, audio -// will flow from the attendee to the other meeting participants. +// SendReceive , and an attendee unmutes their microphone, audio flows from +// the attendee to the other meeting participants. // // - When you change a video or content capability from None or Receive to -// Send or SendReceive , and if the attendee turned on their video or content +// Send or SendReceive , and the attendee turns on their video or content // streams, remote attendees can receive those streams, but only after media // renegotiation between the client and the Amazon Chime back-end server. type AttendeeCapabilities struct { @@ -1990,6 +2041,55 @@ func (s *AttendeeCapabilities) SetVideo(v string) *AttendeeCapabilities { return s } +// Lists the maximum number of attendees allowed into the meeting. +// +// If you specify FHD for MeetingFeatures:Video:MaxResolution, or if you specify +// UHD for MeetingFeatures:Content:MaxResolution, the maximum number of attendees +// changes from the default of 250 to 25. +type AttendeeFeatures struct { + _ struct{} `type:"structure"` + + // The maximum number of attendees allowed into the meeting. + MaxCount *int64 `min:"1" type:"integer"` +} + +// 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 AttendeeFeatures) 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 AttendeeFeatures) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AttendeeFeatures) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AttendeeFeatures"} + if s.MaxCount != nil && *s.MaxCount < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxCount", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxCount sets the MaxCount field's value. +func (s *AttendeeFeatures) SetMaxCount(v int64) *AttendeeFeatures { + s.MaxCount = &v + return s +} + // A structure that contains one or more attendee IDs. type AttendeeIdItem struct { _ struct{} `type:"structure"` @@ -2442,6 +2542,46 @@ func (s *ConflictException) RequestID() string { return s.RespMetadata.RequestID } +// Lists the content (screen share) features for the meeting. Applies to all +// attendees. +// +// If you specify MeetingFeatures:Content:MaxResolution:None when you create +// a meeting, all API requests that include SendReceive, Send, or Receive for +// AttendeeCapabilities:Content will be rejected with ValidationError 400. +type ContentFeatures struct { + _ struct{} `type:"structure"` + + // The maximum resolution for the meeting content. + // + // Defaults to FHD. To use UHD, you must also provide a MeetingFeatures:Attendee:MaxCount + // value and override the default size limit of 250 attendees. + MaxResolution *string `type:"string" enum:"ContentResolution"` +} + +// 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 ContentFeatures) 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 ContentFeatures) GoString() string { + return s.String() +} + +// SetMaxResolution sets the MaxResolution field's value. +func (s *ContentFeatures) SetMaxResolution(v string) *ContentFeatures { + s.MaxResolution = &v + return s +} + // The list of errors returned when errors are encountered during the BatchCreateAttendee // and CreateAttendee actions. This includes external user IDs, error codes, // and error messages. @@ -2517,6 +2657,15 @@ type CreateAttendeeInput struct { // // When using capabilities, be aware of these corner cases: // + // * If you specify MeetingFeatures:Video:MaxResolution:None when you create + // a meeting, all API requests that include SendReceive, Send, or Receive + // for AttendeeCapabilities:Video will be rejected with ValidationError 400. + // + // * If you specify MeetingFeatures:Content:MaxResolution:None when you create + // a meeting, all API requests that include SendReceive, Send, or Receive + // for AttendeeCapabilities:Content will be rejected with ValidationError + // 400. + // // * You can't set content capabilities to SendReceive or Receive unless // you also set video capabilities to SendReceive or Receive. If you don't // set the video capability to receive, the response will contain an HTTP @@ -2755,7 +2904,8 @@ type CreateMeetingInput struct { // eu-west-1, eu-west-2, eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, // us-west-2. // - // Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1. + // Available values in Amazon Web Services GovCloud (US) Regions: us-gov-east-1, + // us-gov-west-1. // // MediaRegion is a required field MediaRegion *string `min:"2" type:"string" required:"true"` @@ -2791,8 +2941,8 @@ type CreateMeetingInput struct { // and Usage Conventions (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html#tag-conventions) // in the AWS General Reference. // - // * You can only tag resources that are located in the specified AWS Region - // for the AWS account. + // * You can only tag resources that are located in the specified Amazon + // Web Services Region for the Amazon Web Services account. // // * To add tags to a resource, you need the necessary permissions for the // service that the resource belongs to as well as permissions for adding @@ -2870,6 +3020,11 @@ func (s *CreateMeetingInput) Validate() error { if s.TenantIds != nil && len(s.TenantIds) < 1 { invalidParams.Add(request.NewErrParamMinLen("TenantIds", 1)) } + if s.MeetingFeatures != nil { + if err := s.MeetingFeatures.Validate(); err != nil { + invalidParams.AddNested("MeetingFeatures", err.(request.ErrInvalidParams)) + } + } if s.NotificationsConfiguration != nil { if err := s.NotificationsConfiguration.Validate(); err != nil { invalidParams.AddNested("NotificationsConfiguration", err.(request.ErrInvalidParams)) @@ -3014,7 +3169,8 @@ type CreateMeetingWithAttendeesInput struct { // eu-west-1, eu-west-2, eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, // us-west-2. // - // Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1. + // Available values in Amazon Web Services GovCloud (US) Regions: us-gov-east-1, + // us-gov-west-1. // // MediaRegion is a required field MediaRegion *string `min:"2" type:"string" required:"true"` @@ -3106,6 +3262,11 @@ func (s *CreateMeetingWithAttendeesInput) Validate() error { } } } + if s.MeetingFeatures != nil { + if err := s.MeetingFeatures.Validate(); err != nil { + invalidParams.AddNested("MeetingFeatures", err.(request.ErrInvalidParams)) + } + } if s.NotificationsConfiguration != nil { if err := s.NotificationsConfiguration.Validate(); err != nil { invalidParams.AddNested("NotificationsConfiguration", err.(request.ErrInvalidParams)) @@ -3410,8 +3571,8 @@ type EngineTranscribeMedicalSettings struct { // LanguageCode is a required field LanguageCode *string `type:"string" required:"true" enum:"TranscribeMedicalLanguageCode"` - // The AWS Region passed to Amazon Transcribe Medical. If you don't specify - // a Region, Amazon Chime uses the meeting's Region. + // The Amazon Web Services Region passed to Amazon Transcribe Medical. If you + // don't specify a Region, Amazon Chime uses the meeting's Region. Region *string `type:"string" enum:"TranscribeMedicalRegion"` // The specialty specified for the Amazon Transcribe Medical engine. @@ -3599,7 +3760,7 @@ type EngineTranscribeSettings struct { // You can only use this parameter if you include IdentifyLanguage and LanguageOptions. PreferredLanguage *string `type:"string" enum:"TranscribeLanguageCode"` - // The AWS Region in which to use Amazon Transcribe. + // The Amazon Web Services Region in which to use Amazon Transcribe. // // If you don't specify a Region, then the MediaRegion (https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html) // of the meeting is used. However, if Amazon Transcribe is not available in @@ -4321,18 +4482,26 @@ type MediaPlacement struct { EventIngestionUrl *string `type:"string"` // The screen data URL. + // + // This parameter is deprecated and no longer used by the Amazon Chime SDK. ScreenDataUrl *string `type:"string"` // The screen sharing URL. + // + // This parameter is deprecated and no longer used by the Amazon Chime SDK. ScreenSharingUrl *string `type:"string"` // The screen viewing URL. + // + // This parameter is deprecated and no longer used by the Amazon Chime SDK. ScreenViewingUrl *string `type:"string"` // The signaling URL. SignalingUrl *string `type:"string"` // The turn control URL. + // + // This parameter is deprecated and no longer used by the Amazon Chime SDK. TurnControlUrl *string `type:"string"` } @@ -4426,7 +4595,8 @@ type Meeting struct { // ca-central-1, eu-central-1, eu-north-1, eu-south-1, eu-west-1, eu-west-2, // eu-west-3, sa-east-1, us-east-1, us-east-2, us-west-1, us-west-2. // - // Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1. + // Available values in Amazon Web Services GovCloud (US) Regions: us-gov-east-1, + // us-gov-west-1. MediaRegion *string `min:"2" type:"string"` // The ARN of the meeting. @@ -4528,8 +4698,17 @@ func (s *Meeting) SetTenantIds(v []*string) *Meeting { type MeetingFeaturesConfiguration struct { _ struct{} `type:"structure"` + // The configuration settings for the attendee features available to a meeting. + Attendee *AttendeeFeatures `type:"structure"` + // The configuration settings for the audio features available to a meeting. Audio *AudioFeatures `type:"structure"` + + // The configuration settings for the content features available to a meeting. + Content *ContentFeatures `type:"structure"` + + // The configuration settings for the video features available to a meeting. + Video *VideoFeatures `type:"structure"` } // String returns the string representation. @@ -4550,12 +4729,45 @@ func (s MeetingFeaturesConfiguration) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *MeetingFeaturesConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MeetingFeaturesConfiguration"} + if s.Attendee != nil { + if err := s.Attendee.Validate(); err != nil { + invalidParams.AddNested("Attendee", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttendee sets the Attendee field's value. +func (s *MeetingFeaturesConfiguration) SetAttendee(v *AttendeeFeatures) *MeetingFeaturesConfiguration { + s.Attendee = v + return s +} + // SetAudio sets the Audio field's value. func (s *MeetingFeaturesConfiguration) SetAudio(v *AudioFeatures) *MeetingFeaturesConfiguration { s.Audio = v return s } +// SetContent sets the Content field's value. +func (s *MeetingFeaturesConfiguration) SetContent(v *ContentFeatures) *MeetingFeaturesConfiguration { + s.Content = v + return s +} + +// SetVideo sets the Video field's value. +func (s *MeetingFeaturesConfiguration) SetVideo(v *VideoFeatures) *MeetingFeaturesConfiguration { + s.Video = v + return s +} + // One or more of the resources in the request does not exist in the system. type NotFoundException struct { _ struct{} `type:"structure"` @@ -4630,7 +4842,7 @@ func (s *NotFoundException) RequestID() string { type NotificationsConfiguration struct { _ struct{} `type:"structure"` - // The ARN of the AWS Lambda function in the notifications configuration. + // The ARN of the Amazon Web Services Lambda function in the notifications configuration. // // LambdaFunctionArn is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by NotificationsConfiguration's @@ -5784,6 +5996,65 @@ func (s *UpdateAttendeeCapabilitiesOutput) SetAttendee(v *Attendee) *UpdateAtten return s } +// The video features set for the meeting. Applies to all attendees. +// +// If you specify MeetingFeatures:Video:MaxResolution:None when you create a +// meeting, all API requests that include SendReceive, Send, or Receive for +// AttendeeCapabilities:Video will be rejected with ValidationError 400. +type VideoFeatures struct { + _ struct{} `type:"structure"` + + // The maximum video resolution for the meeting. Applies to all attendees. + // + // Defaults to HD. To use FHD, you must also provide a MeetingFeatures:Attendee:MaxCount + // value and override the default size limit of 250 attendees. + MaxResolution *string `type:"string" enum:"VideoResolution"` +} + +// 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 VideoFeatures) 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 VideoFeatures) GoString() string { + return s.String() +} + +// SetMaxResolution sets the MaxResolution field's value. +func (s *VideoFeatures) SetMaxResolution(v string) *VideoFeatures { + s.MaxResolution = &v + return s +} + +const ( + // ContentResolutionNone is a ContentResolution enum value + ContentResolutionNone = "None" + + // ContentResolutionFhd is a ContentResolution enum value + ContentResolutionFhd = "FHD" + + // ContentResolutionUhd is a ContentResolution enum value + ContentResolutionUhd = "UHD" +) + +// ContentResolution_Values returns all elements of the ContentResolution enum +func ContentResolution_Values() []string { + return []string{ + ContentResolutionNone, + ContentResolutionFhd, + ContentResolutionUhd, + } +} + const ( // MediaCapabilitiesSendReceive is a MediaCapabilities enum value MediaCapabilitiesSendReceive = "SendReceive" @@ -6119,3 +6390,23 @@ func TranscribeVocabularyFilterMethod_Values() []string { TranscribeVocabularyFilterMethodTag, } } + +const ( + // VideoResolutionNone is a VideoResolution enum value + VideoResolutionNone = "None" + + // VideoResolutionHd is a VideoResolution enum value + VideoResolutionHd = "HD" + + // VideoResolutionFhd is a VideoResolution enum value + VideoResolutionFhd = "FHD" +) + +// VideoResolution_Values returns all elements of the VideoResolution enum +func VideoResolution_Values() []string { + return []string{ + VideoResolutionNone, + VideoResolutionHd, + VideoResolutionFhd, + } +} diff --git a/service/chimesdkmeetings/doc.go b/service/chimesdkmeetings/doc.go index 1afdf758f9f..27174e7a54c 100644 --- a/service/chimesdkmeetings/doc.go +++ b/service/chimesdkmeetings/doc.go @@ -4,9 +4,10 @@ // requests to Amazon Chime SDK Meetings. // // The Amazon Chime SDK meetings APIs in this section allow software developers -// to create Amazon Chime SDK meetings, set the AWS Regions for meetings, create -// and manage users, and send and receive meeting notifications. For more information -// about the meeting APIs, see Amazon Chime SDK meetings (https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Meetings.html). +// to create Amazon Chime SDK meetings, set the Amazon Web Services Regions +// for meetings, create and manage users, and send and receive meeting notifications. +// For more information about the meeting APIs, see Amazon Chime SDK meetings +// (https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Meetings.html). // // See https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15 for more information on this service. // diff --git a/service/ec2/api.go b/service/ec2/api.go index 6d7aa0c0ace..ccc59011db5 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -58035,6 +58035,25 @@ type AdvertiseByoipCidrInput struct { // the required permissions, the error response is DryRunOperation. Otherwise, // it is UnauthorizedOperation. DryRun *bool `type:"boolean"` + + // If you have Local Zones (https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html) + // enabled, you can choose a network border group for Local Zones when you provision + // and advertise a BYOIPv4 CIDR. Choose the network border group carefully as + // the EIP and the Amazon Web Services resource it is associated with must reside + // in the same network border group. + // + // You can provision BYOIP address ranges to and advertise them in the following + // Local Zone network border groups: + // + // * us-east-1-dfw-2 + // + // * us-west-2-lax-1 + // + // * us-west-2-phx-2 + // + // You cannot provision or advertise BYOIPv6 address ranges in Local Zones at + // this time. + NetworkBorderGroup *string `type:"string"` } // String returns the string representation. @@ -58086,6 +58105,12 @@ func (s *AdvertiseByoipCidrInput) SetDryRun(v bool) *AdvertiseByoipCidrInput { return s } +// SetNetworkBorderGroup sets the NetworkBorderGroup field's value. +func (s *AdvertiseByoipCidrInput) SetNetworkBorderGroup(v string) *AdvertiseByoipCidrInput { + s.NetworkBorderGroup = &v + return s +} + type AdvertiseByoipCidrOutput struct { _ struct{} `type:"structure"` @@ -64318,6 +64343,25 @@ type ByoipCidr struct { // The description of the address range. Description *string `locationName:"description" type:"string"` + // If you have Local Zones (https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html) + // enabled, you can choose a network border group for Local Zones when you provision + // and advertise a BYOIPv4 CIDR. Choose the network border group carefully as + // the EIP and the Amazon Web Services resource it is associated with must reside + // in the same network border group. + // + // You can provision BYOIP address ranges to and advertise them in the following + // Local Zone network border groups: + // + // * us-east-1-dfw-2 + // + // * us-west-2-lax-1 + // + // * us-west-2-phx-2 + // + // You cannot provision or advertise BYOIPv6 address ranges in Local Zones at + // this time. + NetworkBorderGroup *string `locationName:"networkBorderGroup" type:"string"` + // The state of the address pool. State *string `locationName:"state" type:"string" enum:"ByoipCidrState"` @@ -64362,6 +64406,12 @@ func (s *ByoipCidr) SetDescription(v string) *ByoipCidr { return s } +// SetNetworkBorderGroup sets the NetworkBorderGroup field's value. +func (s *ByoipCidr) SetNetworkBorderGroup(v string) *ByoipCidr { + s.NetworkBorderGroup = &v + return s +} + // SetState sets the State field's value. func (s *ByoipCidr) SetState(v string) *ByoipCidr { s.State = &v @@ -135752,6 +135802,11 @@ type InstanceNetworkInterfaceSpecification struct { // for eth0, and can only be assigned to a new network interface, not an existing // one. You cannot specify more than one network interface in the request. If // launching into a default subnet, the default value is true. + // + // Starting on February 1, 2024, Amazon Web Services will charge for all public + // IPv4 addresses, including public IPv4 addresses associated with running instances + // and Elastic IP addresses. For more information, see the Public IPv4 Address + // tab on the Amazon VPC pricing page (http://aws.amazon.com/vpc/pricing/). AssociatePublicIpAddress *bool `locationName:"associatePublicIpAddress" type:"boolean"` // A security group connection tracking specification that enables you to set @@ -142771,20 +142826,18 @@ type LaunchTemplateInstanceMetadataOptions struct { // Possible values: Integers from 1 to 64 HttpPutResponseHopLimit *int64 `locationName:"httpPutResponseHopLimit" type:"integer"` - // Indicates whether IMDSv2 is optional or required. + // Indicates whether IMDSv2 is required. // - // optional - When IMDSv2 is optional, you can choose to retrieve instance metadata - // with or without a session token in your request. If you retrieve the IAM - // role credentials without a token, the IMDSv1 role credentials are returned. - // If you retrieve the IAM role credentials using a valid session token, the - // IMDSv2 role credentials are returned. + // * optional - IMDSv2 is optional. You can choose whether to send a session + // token in your instance metadata retrieval requests. If you retrieve IAM + // role credentials without a session token, you receive the IMDSv1 role + // credentials. If you retrieve IAM role credentials using a valid session + // token, you receive the IMDSv2 role credentials. // - // required - When IMDSv2 is required, you must send a session token with any - // instance metadata retrieval requests. In this state, retrieving the IAM role - // credentials always returns IMDSv2 credentials; IMDSv1 credentials are not - // available. - // - // Default: optional + // * required - IMDSv2 is required. You must send a session token in your + // instance metadata retrieval requests. With this option, retrieving the + // IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials + // are not available. HttpTokens *string `locationName:"httpTokens" type:"string" enum:"LaunchTemplateHttpTokensState"` // Set to enabled to allow access to instance tags from the instance metadata. @@ -142884,22 +142937,21 @@ type LaunchTemplateInstanceMetadataOptionsRequest struct { // Possible values: Integers from 1 to 64 HttpPutResponseHopLimit *int64 `type:"integer"` - // IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to optional - // (in other words, set the use of IMDSv2 to optional) or required (in other - // words, set the use of IMDSv2 to required). + // Indicates whether IMDSv2 is required. // - // * optional - When IMDSv2 is optional, you can choose to retrieve instance - // metadata with or without a session token in your request. If you retrieve - // the IAM role credentials without a token, the IMDSv1 role credentials - // are returned. If you retrieve the IAM role credentials using a valid session - // token, the IMDSv2 role credentials are returned. + // * optional - IMDSv2 is optional. You can choose whether to send a session + // token in your instance metadata retrieval requests. If you retrieve IAM + // role credentials without a session token, you receive the IMDSv1 role + // credentials. If you retrieve IAM role credentials using a valid session + // token, you receive the IMDSv2 role credentials. // - // * required - When IMDSv2 is required, you must send a session token with - // any instance metadata retrieval requests. In this state, retrieving the + // * required - IMDSv2 is required. You must send a session token in your + // instance metadata retrieval requests. With this option, retrieving the // IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials // are not available. // - // Default: optional + // Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for + // your instance is v2.0, the default is required. HttpTokens *string `type:"string" enum:"LaunchTemplateHttpTokensState"` // Set to enabled to allow access to instance tags from the instance metadata. @@ -142974,6 +143026,11 @@ type LaunchTemplateInstanceNetworkInterfaceSpecification struct { // Indicates whether to associate a public IPv4 address with eth0 for a new // network interface. + // + // Starting on February 1, 2024, Amazon Web Services will charge for all public + // IPv4 addresses, including public IPv4 addresses associated with running instances + // and Elastic IP addresses. For more information, see the Public IPv4 Address + // tab on the Amazon VPC pricing page (http://aws.amazon.com/vpc/pricing/). AssociatePublicIpAddress *bool `locationName:"associatePublicIpAddress" type:"boolean"` // A security group connection tracking specification that enables you to set @@ -143210,6 +143267,11 @@ type LaunchTemplateInstanceNetworkInterfaceSpecificationRequest struct { AssociateCarrierIpAddress *bool `type:"boolean"` // Associates a public IPv4 address with eth0 for a new network interface. + // + // Starting on February 1, 2024, Amazon Web Services will charge for all public + // IPv4 addresses, including public IPv4 addresses associated with running instances + // and Elastic IP addresses. For more information, see the Public IPv4 Address + // tab on the Amazon VPC pricing page (http://aws.amazon.com/vpc/pricing/). AssociatePublicIpAddress *bool `type:"boolean"` // A security group connection tracking specification that enables you to set @@ -161174,6 +161236,25 @@ type ProvisionByoipCidrInput struct { // Reserved. MultiRegion *bool `type:"boolean"` + // If you have Local Zones (https://docs.aws.amazon.com/local-zones/latest/ug/how-local-zones-work.html) + // enabled, you can choose a network border group for Local Zones when you provision + // and advertise a BYOIPv4 CIDR. Choose the network border group carefully as + // the EIP and the Amazon Web Services resource it is associated with must reside + // in the same network border group. + // + // You can provision BYOIP address ranges to and advertise them in the following + // Local Zone network border groups: + // + // * us-east-1-dfw-2 + // + // * us-west-2-lax-1 + // + // * us-west-2-phx-2 + // + // You cannot provision or advertise BYOIPv6 address ranges in Local Zones at + // this time. + NetworkBorderGroup *string `type:"string"` + // The tags to apply to the address pool. PoolTagSpecifications []*TagSpecification `locationName:"PoolTagSpecification" locationNameList:"item" type:"list"` @@ -161250,6 +161331,12 @@ func (s *ProvisionByoipCidrInput) SetMultiRegion(v bool) *ProvisionByoipCidrInpu return s } +// SetNetworkBorderGroup sets the NetworkBorderGroup field's value. +func (s *ProvisionByoipCidrInput) SetNetworkBorderGroup(v string) *ProvisionByoipCidrInput { + s.NetworkBorderGroup = &v + return s +} + // SetPoolTagSpecifications sets the PoolTagSpecifications field's value. func (s *ProvisionByoipCidrInput) SetPoolTagSpecifications(v []*TagSpecification) *ProvisionByoipCidrInput { s.PoolTagSpecifications = v @@ -165874,23 +165961,7 @@ type RequestLaunchTemplateData struct { SecurityGroups []*string `locationName:"SecurityGroup" locationNameList:"SecurityGroup" type:"list"` // The tags to apply to the resources that are created during instance launch. - // - // You can specify tags for the following resources only: - // - // * Instances - // - // * Volumes - // - // * Elastic graphics - // - // * Spot Instance requests - // - // * Network interfaces - // - // To tag a resource after it has been created, see CreateTags (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). - // - // To tag the launch template itself, you must use the TagSpecification (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html) - // parameter. + // These tags are not applied to the launch template. TagSpecifications []*LaunchTemplateTagSpecificationRequest `locationName:"TagSpecification" locationNameList:"LaunchTemplateTagSpecificationRequest" type:"list"` // The user data to make available to the instance. You must provide base64-encoded diff --git a/service/fsx/api.go b/service/fsx/api.go index 2ca9280e049..918a9dfe56d 100644 --- a/service/fsx/api.go +++ b/service/fsx/api.go @@ -9301,7 +9301,11 @@ type CreateFileSystemOntapConfiguration struct { // conditions: // // * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are - // not the same value + // not the same value for file systems with one HA pair. + // + // * The value of deployment type is SINGLE_AZ_2 and ThroughputCapacity / + // ThroughputCapacityPerHAPair is a valid HA pair (a value between 2 and + // 6). // // * The value of ThroughputCapacityPerHAPair is not a valid value. ThroughputCapacityPerHAPair *int64 `min:"128" type:"integer"` @@ -14600,6 +14604,11 @@ type DescribeSnapshotsInput struct { // The filters structure. The supported names are file-system-id or volume-id. Filters []*SnapshotFilter `type:"list"` + // Set to false (default) if you want to only see the snapshots in your Amazon + // Web Services account. Set to true if you want to see the snapshots in your + // account and the ones shared with you from another account. + IncludeShared *bool `type:"boolean"` + // The maximum number of resources to return in the response. This value must // be an integer greater than zero. MaxResults *int64 `min:"1" type:"integer"` @@ -14655,6 +14664,12 @@ func (s *DescribeSnapshotsInput) SetFilters(v []*SnapshotFilter) *DescribeSnapsh return s } +// SetIncludeShared sets the IncludeShared field's value. +func (s *DescribeSnapshotsInput) SetIncludeShared(v bool) *DescribeSnapshotsInput { + s.IncludeShared = &v + return s +} + // SetMaxResults sets the MaxResults field's value. func (s *DescribeSnapshotsInput) SetMaxResults(v int64) *DescribeSnapshotsInput { s.MaxResults = &v @@ -19187,6 +19202,23 @@ func (s *OpenZFSUserOrGroupQuota) SetType(v string) *OpenZFSUserOrGroupQuota { type OpenZFSVolumeConfiguration struct { _ struct{} `type:"structure"` + // Specifies the strategy used when copying data from the snapshot to the new + // volume. + // + // * CLONE - The new volume references the data in the origin snapshot. Cloning + // a snapshot is faster than copying data from the snapshot to a new volume + // and doesn't consume disk throughput. However, the origin snapshot can't + // be deleted if there is a volume using its copied data. + // + // * FULL_COPY - Copies all data from the snapshot to the new volume. Specify + // this option to create the volume from a snapshot on another FSx for OpenZFS + // file system. + // + // The INCREMENTAL_COPY option is only for updating an existing volume by using + // a snapshot from another FSx for OpenZFS file system. For more information, + // see CopySnapshotAndUpdateVolume (https://docs.aws.amazon.com/fsx/latest/APIReference/API_CopySnapshotAndUpdateVolume.html). + CopyStrategy *string `type:"string" enum:"OpenZFSCopyStrategy"` + // A Boolean value indicating whether tags for the volume should be copied to // snapshots. This value defaults to false. If it's set to true, all tags for // the volume are copied to snapshots where the user doesn't specify tags. If @@ -19289,6 +19321,12 @@ func (s OpenZFSVolumeConfiguration) GoString() string { return s.String() } +// SetCopyStrategy sets the CopyStrategy field's value. +func (s *OpenZFSVolumeConfiguration) SetCopyStrategy(v string) *OpenZFSVolumeConfiguration { + s.CopyStrategy = &v + return s +} + // SetCopyTagsToSnapshots sets the CopyTagsToSnapshots field's value. func (s *OpenZFSVolumeConfiguration) SetCopyTagsToSnapshots(v bool) *OpenZFSVolumeConfiguration { s.CopyTagsToSnapshots = &v @@ -22524,10 +22562,14 @@ type UpdateFileSystemOntapConfiguration struct { // Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following // conditions: // - // The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the - // same value. + // * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are + // not the same value for file systems with one HA pair. // - // The value of ThroughputCapacityPerHAPair is not a valid value. + // * The value of deployment type is SINGLE_AZ_2 and ThroughputCapacity / + // ThroughputCapacityPerHAPair is a valid HA pair (a value between 2 and + // 6). + // + // * The value of ThroughputCapacityPerHAPair is not a valid value. ThroughputCapacityPerHAPair *int64 `min:"128" type:"integer"` // A recurring weekly time, in the format D:HH:MM. diff --git a/service/marketplacecatalog/api.go b/service/marketplacecatalog/api.go index 4aa92cf1666..a8575a0de9f 100644 --- a/service/marketplacecatalog/api.go +++ b/service/marketplacecatalog/api.go @@ -12,6 +12,102 @@ import ( "github.com/aws/aws-sdk-go/private/protocol/restjson" ) +const opBatchDescribeEntities = "BatchDescribeEntities" + +// BatchDescribeEntitiesRequest generates a "aws/request.Request" representing the +// client's request for the BatchDescribeEntities operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See BatchDescribeEntities for more information on using the BatchDescribeEntities +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the BatchDescribeEntitiesRequest method. +// req, resp := client.BatchDescribeEntitiesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/BatchDescribeEntities +func (c *MarketplaceCatalog) BatchDescribeEntitiesRequest(input *BatchDescribeEntitiesInput) (req *request.Request, output *BatchDescribeEntitiesOutput) { + op := &request.Operation{ + Name: opBatchDescribeEntities, + HTTPMethod: "POST", + HTTPPath: "/BatchDescribeEntities", + } + + if input == nil { + input = &BatchDescribeEntitiesInput{} + } + + output = &BatchDescribeEntitiesOutput{} + req = c.newRequest(op, input, output) + return +} + +// BatchDescribeEntities API operation for AWS Marketplace Catalog Service. +// +// Returns metadata and content for multiple entities. +// +// 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. +// +// See the AWS API reference guide for AWS Marketplace Catalog Service's +// API operation BatchDescribeEntities for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// Access is denied. +// +// HTTP status code: 403 +// +// - InternalServiceException +// There was an internal service exception. +// +// HTTP status code: 500 +// +// - ThrottlingException +// Too many requests. +// +// HTTP status code: 429 +// +// - ValidationException +// An error occurred during validation. +// +// HTTP status code: 422 +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/BatchDescribeEntities +func (c *MarketplaceCatalog) BatchDescribeEntities(input *BatchDescribeEntitiesInput) (*BatchDescribeEntitiesOutput, error) { + req, out := c.BatchDescribeEntitiesRequest(input) + return out, req.Send() +} + +// BatchDescribeEntitiesWithContext is the same as BatchDescribeEntities with the addition of +// the ability to pass a context and additional request options. +// +// See BatchDescribeEntities for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MarketplaceCatalog) BatchDescribeEntitiesWithContext(ctx aws.Context, input *BatchDescribeEntitiesInput, opts ...request.Option) (*BatchDescribeEntitiesOutput, error) { + req, out := c.BatchDescribeEntitiesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCancelChangeSet = "CancelChangeSet" // CancelChangeSetRequest generates a "aws/request.Request" representing the @@ -1875,6 +1971,147 @@ func (s *AmiProductVisibilityFilter) SetValueList(v []*string) *AmiProductVisibi return s } +type BatchDescribeEntitiesInput struct { + _ struct{} `type:"structure"` + + // List of entity IDs and the catalogs the entities are present in. + // + // EntityRequestList is a required field + EntityRequestList []*EntityRequest `min:"1" type:"list" 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 BatchDescribeEntitiesInput) 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 BatchDescribeEntitiesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchDescribeEntitiesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchDescribeEntitiesInput"} + if s.EntityRequestList == nil { + invalidParams.Add(request.NewErrParamRequired("EntityRequestList")) + } + if s.EntityRequestList != nil && len(s.EntityRequestList) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EntityRequestList", 1)) + } + if s.EntityRequestList != nil { + for i, v := range s.EntityRequestList { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "EntityRequestList", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEntityRequestList sets the EntityRequestList field's value. +func (s *BatchDescribeEntitiesInput) SetEntityRequestList(v []*EntityRequest) *BatchDescribeEntitiesInput { + s.EntityRequestList = v + return s +} + +type BatchDescribeEntitiesOutput struct { + _ struct{} `type:"structure"` + + // Details about each entity. + EntityDetails map[string]*EntityDetail `type:"map"` + + // A map of errors returned, with EntityId as the key and errorDetail as the + // value. + Errors map[string]*BatchDescribeErrorDetail `type:"map"` +} + +// 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 BatchDescribeEntitiesOutput) 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 BatchDescribeEntitiesOutput) GoString() string { + return s.String() +} + +// SetEntityDetails sets the EntityDetails field's value. +func (s *BatchDescribeEntitiesOutput) SetEntityDetails(v map[string]*EntityDetail) *BatchDescribeEntitiesOutput { + s.EntityDetails = v + return s +} + +// SetErrors sets the Errors field's value. +func (s *BatchDescribeEntitiesOutput) SetErrors(v map[string]*BatchDescribeErrorDetail) *BatchDescribeEntitiesOutput { + s.Errors = v + return s +} + +// An object that contains an error code and error message. +type BatchDescribeErrorDetail struct { + _ struct{} `type:"structure"` + + // The error code returned. + ErrorCode *string `min:"1" type:"string"` + + // The error message returned. + ErrorMessage *string `min:"1" type:"string"` +} + +// 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 BatchDescribeErrorDetail) 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 BatchDescribeErrorDetail) GoString() string { + return s.String() +} + +// SetErrorCode sets the ErrorCode field's value. +func (s *BatchDescribeErrorDetail) SetErrorCode(v string) *BatchDescribeErrorDetail { + s.ErrorCode = &v + return s +} + +// SetErrorMessage sets the ErrorMessage field's value. +func (s *BatchDescribeErrorDetail) SetErrorMessage(v string) *BatchDescribeErrorDetail { + s.ErrorMessage = &v + return s +} + type CancelChangeSetInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -1991,7 +2228,7 @@ type Change struct { // Change types are single string values that describe your intention for the // change. Each change type is unique for each EntityType provided in the change's - // scope. For more information on change types available for single-AMI products, + // scope. For more information about change types available for single-AMI products, // see Working with single-AMI products (https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products). // Also, for more information about change types available for container-based // products, see Working with container products (https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products). @@ -3585,6 +3822,134 @@ func (s *Entity) SetType(v string) *Entity { return s } +// An object that contains metadata and details about the entity. +type EntityDetail struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the entity. + EntityArn *string `min:"1" type:"string"` + + // The ID of the entity, in the format of EntityId@RevisionId. + EntityIdentifier *string `min:"1" type:"string"` + + // The entity type of the entity, in the format of EntityType@Version. + EntityType *string `min:"1" type:"string"` + + // The last time the entity was modified. + LastModifiedDate *string `min:"20" type:"string"` +} + +// 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 EntityDetail) 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 EntityDetail) GoString() string { + return s.String() +} + +// SetEntityArn sets the EntityArn field's value. +func (s *EntityDetail) SetEntityArn(v string) *EntityDetail { + s.EntityArn = &v + return s +} + +// SetEntityIdentifier sets the EntityIdentifier field's value. +func (s *EntityDetail) SetEntityIdentifier(v string) *EntityDetail { + s.EntityIdentifier = &v + return s +} + +// SetEntityType sets the EntityType field's value. +func (s *EntityDetail) SetEntityType(v string) *EntityDetail { + s.EntityType = &v + return s +} + +// SetLastModifiedDate sets the LastModifiedDate field's value. +func (s *EntityDetail) SetLastModifiedDate(v string) *EntityDetail { + s.LastModifiedDate = &v + return s +} + +// An object that contains entity ID and the catalog in which the entity is +// present. +type EntityRequest struct { + _ struct{} `type:"structure"` + + // The name of the catalog the entity is present in. The only value at this + // time is AWSMarketplace. + // + // Catalog is a required field + Catalog *string `min:"1" type:"string" required:"true"` + + // The ID of the entity. + // + // EntityId is a required field + EntityId *string `min:"1" 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 EntityRequest) 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 EntityRequest) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *EntityRequest) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EntityRequest"} + if s.Catalog == nil { + invalidParams.Add(request.NewErrParamRequired("Catalog")) + } + if s.Catalog != nil && len(*s.Catalog) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Catalog", 1)) + } + if s.EntityId == nil { + invalidParams.Add(request.NewErrParamRequired("EntityId")) + } + if s.EntityId != nil && len(*s.EntityId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EntityId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCatalog sets the Catalog field's value. +func (s *EntityRequest) SetCatalog(v string) *EntityRequest { + s.Catalog = &v + return s +} + +// SetEntityId sets the EntityId field's value. +func (s *EntityRequest) SetEntityId(v string) *EntityRequest { + s.EntityId = &v + return s +} + // This object is a container for common summary information about the entity. // The summary doesn't contain the whole entity structure, but it does contain // information common across all entities. @@ -4346,9 +4711,9 @@ type ListEntitiesInput struct { // Catalog is a required field Catalog *string `min:"1" type:"string" required:"true"` - // The type of entities to retrieve. Valid values are: ServerProduct, AmiProduct, - // ContainerProduct, DataProduct, SaaSProduct, ProcurementPolicy, Experience, - // Audience, BrandingSettings, Offer, Seller, ResaleAuthorization. + // The type of entities to retrieve. Valid values are: AmiProduct, ContainerProduct, + // DataProduct, SaaSProduct, ProcurementPolicy, Experience, Audience, BrandingSettings, + // Offer, Seller, ResaleAuthorization. // // EntityType is a required field EntityType *string `min:"1" type:"string" required:"true"` diff --git a/service/marketplacecatalog/marketplacecatalogiface/interface.go b/service/marketplacecatalog/marketplacecatalogiface/interface.go index bd98dc56c22..e8d6833dccd 100644 --- a/service/marketplacecatalog/marketplacecatalogiface/interface.go +++ b/service/marketplacecatalog/marketplacecatalogiface/interface.go @@ -26,7 +26,7 @@ import ( // // myFunc uses an SDK service client to make a request to // // AWS Marketplace Catalog Service. // func myFunc(svc marketplacecatalogiface.MarketplaceCatalogAPI) bool { -// // Make svc.CancelChangeSet request +// // Make svc.BatchDescribeEntities request // } // // func main() { @@ -42,7 +42,7 @@ import ( // type mockMarketplaceCatalogClient struct { // marketplacecatalogiface.MarketplaceCatalogAPI // } -// func (m *mockMarketplaceCatalogClient) CancelChangeSet(input *marketplacecatalog.CancelChangeSetInput) (*marketplacecatalog.CancelChangeSetOutput, error) { +// func (m *mockMarketplaceCatalogClient) BatchDescribeEntities(input *marketplacecatalog.BatchDescribeEntitiesInput) (*marketplacecatalog.BatchDescribeEntitiesOutput, error) { // // mock response/functionality // } // @@ -60,6 +60,10 @@ import ( // and waiters. Its suggested to use the pattern above for testing, or using // tooling to generate mocks to satisfy the interfaces. type MarketplaceCatalogAPI interface { + BatchDescribeEntities(*marketplacecatalog.BatchDescribeEntitiesInput) (*marketplacecatalog.BatchDescribeEntitiesOutput, error) + BatchDescribeEntitiesWithContext(aws.Context, *marketplacecatalog.BatchDescribeEntitiesInput, ...request.Option) (*marketplacecatalog.BatchDescribeEntitiesOutput, error) + BatchDescribeEntitiesRequest(*marketplacecatalog.BatchDescribeEntitiesInput) (*request.Request, *marketplacecatalog.BatchDescribeEntitiesOutput) + CancelChangeSet(*marketplacecatalog.CancelChangeSetInput) (*marketplacecatalog.CancelChangeSetOutput, error) CancelChangeSetWithContext(aws.Context, *marketplacecatalog.CancelChangeSetInput, ...request.Option) (*marketplacecatalog.CancelChangeSetOutput, error) CancelChangeSetRequest(*marketplacecatalog.CancelChangeSetInput) (*request.Request, *marketplacecatalog.CancelChangeSetOutput) diff --git a/service/rds/api.go b/service/rds/api.go index b21bd9281f2..9a13069d9ff 100644 --- a/service/rds/api.go +++ b/service/rds/api.go @@ -8118,6 +8118,137 @@ func (c *RDS) DescribeDBProxyTargetsPagesWithContext(ctx aws.Context, input *Des return p.Err() } +const opDescribeDBRecommendations = "DescribeDBRecommendations" + +// DescribeDBRecommendationsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeDBRecommendations operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeDBRecommendations for more information on using the DescribeDBRecommendations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DescribeDBRecommendationsRequest method. +// req, resp := client.DescribeDBRecommendationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBRecommendations +func (c *RDS) DescribeDBRecommendationsRequest(input *DescribeDBRecommendationsInput) (req *request.Request, output *DescribeDBRecommendationsOutput) { + op := &request.Operation{ + Name: opDescribeDBRecommendations, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeDBRecommendationsInput{} + } + + output = &DescribeDBRecommendationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeDBRecommendations API operation for Amazon Relational Database Service. +// +// Describes the recommendations to resolve the issues for your DB instances, +// DB clusters, and DB parameter groups. +// +// 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. +// +// See the AWS API reference guide for Amazon Relational Database Service's +// API operation DescribeDBRecommendations for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBRecommendations +func (c *RDS) DescribeDBRecommendations(input *DescribeDBRecommendationsInput) (*DescribeDBRecommendationsOutput, error) { + req, out := c.DescribeDBRecommendationsRequest(input) + return out, req.Send() +} + +// DescribeDBRecommendationsWithContext is the same as DescribeDBRecommendations with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeDBRecommendations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *RDS) DescribeDBRecommendationsWithContext(ctx aws.Context, input *DescribeDBRecommendationsInput, opts ...request.Option) (*DescribeDBRecommendationsOutput, error) { + req, out := c.DescribeDBRecommendationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeDBRecommendationsPages iterates over the pages of a DescribeDBRecommendations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeDBRecommendations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeDBRecommendations operation. +// pageNum := 0 +// err := client.DescribeDBRecommendationsPages(params, +// func(page *rds.DescribeDBRecommendationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *RDS) DescribeDBRecommendationsPages(input *DescribeDBRecommendationsInput, fn func(*DescribeDBRecommendationsOutput, bool) bool) error { + return c.DescribeDBRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeDBRecommendationsPagesWithContext same as DescribeDBRecommendationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *RDS) DescribeDBRecommendationsPagesWithContext(ctx aws.Context, input *DescribeDBRecommendationsInput, fn func(*DescribeDBRecommendationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeDBRecommendationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeDBRecommendationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeDBRecommendationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeDBSecurityGroups = "DescribeDBSecurityGroups" // DescribeDBSecurityGroupsRequest generates a "aws/request.Request" representing the @@ -12758,6 +12889,80 @@ func (c *RDS) ModifyDBProxyTargetGroupWithContext(ctx aws.Context, input *Modify return out, req.Send() } +const opModifyDBRecommendation = "ModifyDBRecommendation" + +// ModifyDBRecommendationRequest generates a "aws/request.Request" representing the +// client's request for the ModifyDBRecommendation operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyDBRecommendation for more information on using the ModifyDBRecommendation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ModifyDBRecommendationRequest method. +// req, resp := client.ModifyDBRecommendationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBRecommendation +func (c *RDS) ModifyDBRecommendationRequest(input *ModifyDBRecommendationInput) (req *request.Request, output *ModifyDBRecommendationOutput) { + op := &request.Operation{ + Name: opModifyDBRecommendation, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyDBRecommendationInput{} + } + + output = &ModifyDBRecommendationOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyDBRecommendation API operation for Amazon Relational Database Service. +// +// Updates the recommendation status and recommended action status for the specified +// recommendation. +// +// 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. +// +// See the AWS API reference guide for Amazon Relational Database Service's +// API operation ModifyDBRecommendation for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBRecommendation +func (c *RDS) ModifyDBRecommendation(input *ModifyDBRecommendationInput) (*ModifyDBRecommendationOutput, error) { + req, out := c.ModifyDBRecommendationRequest(input) + return out, req.Send() +} + +// ModifyDBRecommendationWithContext is the same as ModifyDBRecommendation with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyDBRecommendation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *RDS) ModifyDBRecommendationWithContext(ctx aws.Context, input *ModifyDBRecommendationInput, opts ...request.Option) (*ModifyDBRecommendationOutput, error) { + req, out := c.ModifyDBRecommendationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opModifyDBSnapshot = "ModifyDBSnapshot" // ModifyDBSnapshotRequest generates a "aws/request.Request" representing the @@ -18993,6 +19198,47 @@ func (s *ConnectionPoolConfigurationInfo) SetSessionPinningFilters(v []*string) return s } +// The additional attributes of RecommendedAction data type. +type ContextAttribute struct { + _ struct{} `type:"structure"` + + // The key of ContextAttribute. + Key *string `type:"string"` + + // The value of ContextAttribute. + Value *string `type:"string"` +} + +// 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 ContextAttribute) 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 ContextAttribute) GoString() string { + return s.String() +} + +// SetKey sets the Key field's value. +func (s *ContextAttribute) SetKey(v string) *ContextAttribute { + s.Key = &v + return s +} + +// SetValue sets the Value field's value. +func (s *ContextAttribute) SetValue(v string) *ContextAttribute { + s.Value = &v + return s +} + type CopyDBClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -31073,6 +31319,252 @@ func (s *DBProxyTargetGroup) SetUpdatedDate(v time.Time) *DBProxyTargetGroup { return s } +// The recommendation for your DB instances, DB clusters, and DB parameter groups. +type DBRecommendation struct { + _ struct{} `type:"structure"` + + // Additional information about the recommendation. The information might contain + // markdown. + AdditionalInfo *string `type:"string"` + + // The category of the recommendation. + // + // Valid values: + // + // * performance efficiency + // + // * security + // + // * reliability + // + // * cost optimization + // + // * operational excellence + // + // * sustainability + Category *string `type:"string"` + + // The time when the recommendation was created. For example, 2023-09-28T01:13:53.931000+00:00. + CreatedTime *time.Time `type:"timestamp"` + + // A detailed description of the recommendation. The description might contain + // markdown. + Description *string `type:"string"` + + // A short description of the issue identified for this recommendation. The + // description might contain markdown. + Detection *string `type:"string"` + + // A short description that explains the possible impact of an issue. + Impact *string `type:"string"` + + // Details of the issue that caused the recommendation. + IssueDetails *IssueDetails `type:"structure"` + + // A link to documentation that provides additional information about the recommendation. + Links []*DocLink `type:"list"` + + // The reason why this recommendation was created. The information might contain + // markdown. + Reason *string `type:"string"` + + // A short description of the recommendation to resolve an issue. The description + // might contain markdown. + Recommendation *string `type:"string"` + + // The unique identifier of the recommendation. + RecommendationId *string `type:"string"` + + // A list of recommended actions. + RecommendedActions []*RecommendedAction `type:"list"` + + // The Amazon Resource Name (ARN) of the RDS resource associated with the recommendation. + ResourceArn *string `type:"string"` + + // The severity level of the recommendation. The severity level can help you + // decide the urgency with which to address the recommendation. + // + // Valid values: + // + // * high + // + // * medium + // + // * low + // + // * informational + Severity *string `type:"string"` + + // The Amazon Web Services service that generated the recommendations. + Source *string `type:"string"` + + // The current status of the recommendation. + // + // Valid values: + // + // * active - The recommendations which are ready for you to apply. + // + // * pending - The applied or scheduled recommendations which are in progress. + // + // * resolved - The recommendations which are completed. + // + // * dismissed - The recommendations that you dismissed. + Status *string `type:"string"` + + // A short description of the recommendation type. The description might contain + // markdown. + TypeDetection *string `type:"string"` + + // A value that indicates the type of recommendation. This value determines + // how the description is rendered. + TypeId *string `type:"string"` + + // A short description that summarizes the recommendation to fix all the issues + // of the recommendation type. The description might contain markdown. + TypeRecommendation *string `type:"string"` + + // The time when the recommendation was last updated. + UpdatedTime *time.Time `type:"timestamp"` +} + +// 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 DBRecommendation) 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 DBRecommendation) GoString() string { + return s.String() +} + +// SetAdditionalInfo sets the AdditionalInfo field's value. +func (s *DBRecommendation) SetAdditionalInfo(v string) *DBRecommendation { + s.AdditionalInfo = &v + return s +} + +// SetCategory sets the Category field's value. +func (s *DBRecommendation) SetCategory(v string) *DBRecommendation { + s.Category = &v + return s +} + +// SetCreatedTime sets the CreatedTime field's value. +func (s *DBRecommendation) SetCreatedTime(v time.Time) *DBRecommendation { + s.CreatedTime = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *DBRecommendation) SetDescription(v string) *DBRecommendation { + s.Description = &v + return s +} + +// SetDetection sets the Detection field's value. +func (s *DBRecommendation) SetDetection(v string) *DBRecommendation { + s.Detection = &v + return s +} + +// SetImpact sets the Impact field's value. +func (s *DBRecommendation) SetImpact(v string) *DBRecommendation { + s.Impact = &v + return s +} + +// SetIssueDetails sets the IssueDetails field's value. +func (s *DBRecommendation) SetIssueDetails(v *IssueDetails) *DBRecommendation { + s.IssueDetails = v + return s +} + +// SetLinks sets the Links field's value. +func (s *DBRecommendation) SetLinks(v []*DocLink) *DBRecommendation { + s.Links = v + return s +} + +// SetReason sets the Reason field's value. +func (s *DBRecommendation) SetReason(v string) *DBRecommendation { + s.Reason = &v + return s +} + +// SetRecommendation sets the Recommendation field's value. +func (s *DBRecommendation) SetRecommendation(v string) *DBRecommendation { + s.Recommendation = &v + return s +} + +// SetRecommendationId sets the RecommendationId field's value. +func (s *DBRecommendation) SetRecommendationId(v string) *DBRecommendation { + s.RecommendationId = &v + return s +} + +// SetRecommendedActions sets the RecommendedActions field's value. +func (s *DBRecommendation) SetRecommendedActions(v []*RecommendedAction) *DBRecommendation { + s.RecommendedActions = v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *DBRecommendation) SetResourceArn(v string) *DBRecommendation { + s.ResourceArn = &v + return s +} + +// SetSeverity sets the Severity field's value. +func (s *DBRecommendation) SetSeverity(v string) *DBRecommendation { + s.Severity = &v + return s +} + +// SetSource sets the Source field's value. +func (s *DBRecommendation) SetSource(v string) *DBRecommendation { + s.Source = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DBRecommendation) SetStatus(v string) *DBRecommendation { + s.Status = &v + return s +} + +// SetTypeDetection sets the TypeDetection field's value. +func (s *DBRecommendation) SetTypeDetection(v string) *DBRecommendation { + s.TypeDetection = &v + return s +} + +// SetTypeId sets the TypeId field's value. +func (s *DBRecommendation) SetTypeId(v string) *DBRecommendation { + s.TypeId = &v + return s +} + +// SetTypeRecommendation sets the TypeRecommendation field's value. +func (s *DBRecommendation) SetTypeRecommendation(v string) *DBRecommendation { + s.TypeRecommendation = &v + return s +} + +// SetUpdatedTime sets the UpdatedTime field's value. +func (s *DBRecommendation) SetUpdatedTime(v time.Time) *DBRecommendation { + s.UpdatedTime = &v + return s +} + // Contains the details for an Amazon RDS DB security group. // // This data type is used as a response element in the DescribeDBSecurityGroups @@ -37612,6 +38104,214 @@ func (s *DescribeDBProxyTargetsOutput) SetTargets(v []*DBProxyTarget) *DescribeD return s } +type DescribeDBRecommendationsInput struct { + _ struct{} `type:"structure"` + + // A filter that specifies one or more recommendations to describe. + // + // Supported Filters: + // + // * recommendation-id - Accepts a list of recommendation identifiers. The + // results list only includes the recommendations whose identifier is one + // of the specified filter values. + // + // * status - Accepts a list of recommendation statuses. Valid values: active + // - The recommendations which are ready for you to apply. pending - The + // applied or scheduled recommendations which are in progress. resolved - + // The recommendations which are completed. dismissed - The recommendations + // that you dismissed. The results list only includes the recommendations + // whose status is one of the specified filter values. + // + // * severity - Accepts a list of recommendation severities. The results + // list only includes the recommendations whose severity is one of the specified + // filter values. Valid values: high medium low informational + // + // * type-id - Accepts a list of recommendation type identifiers. The results + // list only includes the recommendations whose type is one of the specified + // filter values. + // + // * dbi-resource-id - Accepts a list of database resource identifiers. The + // results list only includes the recommendations that generated for the + // specified databases. + // + // * cluster-resource-id - Accepts a list of cluster resource identifiers. + // The results list only includes the recommendations that generated for + // the specified clusters. + // + // * pg-arn - Accepts a list of parameter group ARNs. The results list only + // includes the recommendations that generated for the specified parameter + // groups. + // + // * cluster-pg-arn - Accepts a list of cluster parameter group ARNs. The + // results list only includes the recommendations that generated for the + // specified cluster parameter groups. + Filters []*Filter `locationNameList:"Filter" type:"list"` + + // A filter to include only the recommendations that were updated after this + // specified time. + LastUpdatedAfter *time.Time `type:"timestamp"` + + // A filter to include only the recommendations that were updated before this + // specified time. + LastUpdatedBefore *time.Time `type:"timestamp"` + + // The language that you choose to return the list of recommendations. + // + // Valid values: + // + // * en + // + // * en_UK + // + // * de + // + // * es + // + // * fr + // + // * id + // + // * it + // + // * ja + // + // * ko + // + // * pt_BR + // + // * zh_TW + // + // * zh_CN + Locale *string `type:"string"` + + // An optional pagination token provided by a previous DescribeDBRecommendations + // request. If this parameter is specified, the response includes only records + // beyond the marker, up to the value specified by MaxRecords. + Marker *string `type:"string"` + + // The maximum number of recommendations to include in the response. If more + // records exist than the specified MaxRecords value, a pagination token called + // a marker is included in the response so that you can retrieve the remaining + // results. + MaxRecords *int64 `type:"integer"` +} + +// 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 DescribeDBRecommendationsInput) 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 DescribeDBRecommendationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeDBRecommendationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeDBRecommendationsInput"} + if s.Filters != nil { + for i, v := range s.Filters { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilters sets the Filters field's value. +func (s *DescribeDBRecommendationsInput) SetFilters(v []*Filter) *DescribeDBRecommendationsInput { + s.Filters = v + return s +} + +// SetLastUpdatedAfter sets the LastUpdatedAfter field's value. +func (s *DescribeDBRecommendationsInput) SetLastUpdatedAfter(v time.Time) *DescribeDBRecommendationsInput { + s.LastUpdatedAfter = &v + return s +} + +// SetLastUpdatedBefore sets the LastUpdatedBefore field's value. +func (s *DescribeDBRecommendationsInput) SetLastUpdatedBefore(v time.Time) *DescribeDBRecommendationsInput { + s.LastUpdatedBefore = &v + return s +} + +// SetLocale sets the Locale field's value. +func (s *DescribeDBRecommendationsInput) SetLocale(v string) *DescribeDBRecommendationsInput { + s.Locale = &v + return s +} + +// SetMarker sets the Marker field's value. +func (s *DescribeDBRecommendationsInput) SetMarker(v string) *DescribeDBRecommendationsInput { + s.Marker = &v + return s +} + +// SetMaxRecords sets the MaxRecords field's value. +func (s *DescribeDBRecommendationsInput) SetMaxRecords(v int64) *DescribeDBRecommendationsInput { + s.MaxRecords = &v + return s +} + +type DescribeDBRecommendationsOutput struct { + _ struct{} `type:"structure"` + + // A list of recommendations which is returned from DescribeDBRecommendations + // API request. + DBRecommendations []*DBRecommendation `type:"list"` + + // An optional pagination token provided by a previous DBRecommendationsMessage + // request. This token can be used later in a DescribeDBRecomendations request. + Marker *string `type:"string"` +} + +// 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 DescribeDBRecommendationsOutput) 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 DescribeDBRecommendationsOutput) GoString() string { + return s.String() +} + +// SetDBRecommendations sets the DBRecommendations field's value. +func (s *DescribeDBRecommendationsOutput) SetDBRecommendations(v []*DBRecommendation) *DescribeDBRecommendationsOutput { + s.DBRecommendations = v + return s +} + +// SetMarker sets the Marker field's value. +func (s *DescribeDBRecommendationsOutput) SetMarker(v string) *DescribeDBRecommendationsOutput { + s.Marker = &v + return s +} + type DescribeDBSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -41090,6 +41790,47 @@ func (s *DescribeValidDBInstanceModificationsOutput) SetValidDBInstanceModificat return s } +// A link to documentation that provides additional information for a recommendation. +type DocLink struct { + _ struct{} `type:"structure"` + + // The text with the link to documentation for the recommendation. + Text *string `type:"string"` + + // The URL for the documentation for the recommendation. + Url *string `type:"string"` +} + +// 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 DocLink) 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 DocLink) GoString() string { + return s.String() +} + +// SetText sets the Text field's value. +func (s *DocLink) SetText(v string) *DocLink { + s.Text = &v + return s +} + +// SetUrl sets the Url field's value. +func (s *DocLink) SetUrl(v string) *DocLink { + s.Url = &v + return s +} + // An Active Directory Domain membership record associated with the DB instance // or cluster. type DomainMembership struct { @@ -42356,6 +43097,8 @@ func (s *FailoverState) SetToDbClusterArn(v string) *FailoverState { // // - DescribeDBInstances // +// - DescribeDBRecommendations +// // - DescribePendingMaintenanceActions type Filter struct { _ struct{} `type:"structure"` @@ -42821,6 +43564,39 @@ func (s *IntegrationError) SetErrorMessage(v string) *IntegrationError { return s } +// The details of an issue with your DB instances, DB clusters, and DB parameter +// groups. +type IssueDetails struct { + _ struct{} `type:"structure"` + + // A detailed description of the issue when the recommendation category is performance. + PerformanceIssueDetails *PerformanceIssueDetails `type:"structure"` +} + +// 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 IssueDetails) 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 IssueDetails) GoString() string { + return s.String() +} + +// SetPerformanceIssueDetails sets the PerformanceIssueDetails field's value. +func (s *IssueDetails) SetPerformanceIssueDetails(v *PerformanceIssueDetails) *IssueDetails { + s.PerformanceIssueDetails = v + return s +} + type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -42994,6 +43770,140 @@ func (s *MasterUserSecret) SetSecretStatus(v string) *MasterUserSecret { return s } +// The representation of a metric. +type Metric struct { + _ struct{} `type:"structure"` + + // The query to retrieve metric data points. + MetricQuery *MetricQuery `type:"structure"` + + // The name of a metric. + Name *string `type:"string"` + + // A list of metric references (thresholds). + References []*MetricReference `type:"list"` + + // The details of different statistics for a metric. The description might contain + // markdown. + StatisticsDetails *string `type:"string"` +} + +// 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 Metric) 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 Metric) GoString() string { + return s.String() +} + +// SetMetricQuery sets the MetricQuery field's value. +func (s *Metric) SetMetricQuery(v *MetricQuery) *Metric { + s.MetricQuery = v + return s +} + +// SetName sets the Name field's value. +func (s *Metric) SetName(v string) *Metric { + s.Name = &v + return s +} + +// SetReferences sets the References field's value. +func (s *Metric) SetReferences(v []*MetricReference) *Metric { + s.References = v + return s +} + +// SetStatisticsDetails sets the StatisticsDetails field's value. +func (s *Metric) SetStatisticsDetails(v string) *Metric { + s.StatisticsDetails = &v + return s +} + +// The query to retrieve metric data points. +type MetricQuery struct { + _ struct{} `type:"structure"` + + // The Performance Insights query that you can use to retrieve Performance Insights + // metric data points. + PerformanceInsightsMetricQuery *PerformanceInsightsMetricQuery `type:"structure"` +} + +// 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 MetricQuery) 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 MetricQuery) GoString() string { + return s.String() +} + +// SetPerformanceInsightsMetricQuery sets the PerformanceInsightsMetricQuery field's value. +func (s *MetricQuery) SetPerformanceInsightsMetricQuery(v *PerformanceInsightsMetricQuery) *MetricQuery { + s.PerformanceInsightsMetricQuery = v + return s +} + +// The reference (threshold) for a metric. +type MetricReference struct { + _ struct{} `type:"structure"` + + // The name of the metric reference. + Name *string `type:"string"` + + // The details of a performance issue. + ReferenceDetails *ReferenceDetails `type:"structure"` +} + +// 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 MetricReference) 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 MetricReference) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *MetricReference) SetName(v string) *MetricReference { + s.Name = &v + return s +} + +// SetReferenceDetails sets the ReferenceDetails field's value. +func (s *MetricReference) SetReferenceDetails(v *ReferenceDetails) *MetricReference { + s.ReferenceDetails = v + return s +} + // The minimum DB engine version required for each corresponding allowed value // for an option setting. type MinimumEngineVersionPerAllowedValue struct { @@ -46993,6 +47903,127 @@ func (s *ModifyDBProxyTargetGroupOutput) SetDBProxyTargetGroup(v *DBProxyTargetG return s } +type ModifyDBRecommendationInput struct { + _ struct{} `type:"structure"` + + // The language of the modified recommendation. + Locale *string `type:"string"` + + // The identifier of the recommendation to update. + // + // RecommendationId is a required field + RecommendationId *string `type:"string" required:"true"` + + // The list of recommended action status to update. You can update multiple + // recommended actions at one time. + RecommendedActionUpdates []*RecommendedActionUpdate `type:"list"` + + // The recommendation status to update. + // + // Valid values: + // + // * active + // + // * dismissed + Status *string `type:"string"` +} + +// 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 ModifyDBRecommendationInput) 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 ModifyDBRecommendationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyDBRecommendationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyDBRecommendationInput"} + if s.RecommendationId == nil { + invalidParams.Add(request.NewErrParamRequired("RecommendationId")) + } + if s.RecommendedActionUpdates != nil { + for i, v := range s.RecommendedActionUpdates { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RecommendedActionUpdates", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLocale sets the Locale field's value. +func (s *ModifyDBRecommendationInput) SetLocale(v string) *ModifyDBRecommendationInput { + s.Locale = &v + return s +} + +// SetRecommendationId sets the RecommendationId field's value. +func (s *ModifyDBRecommendationInput) SetRecommendationId(v string) *ModifyDBRecommendationInput { + s.RecommendationId = &v + return s +} + +// SetRecommendedActionUpdates sets the RecommendedActionUpdates field's value. +func (s *ModifyDBRecommendationInput) SetRecommendedActionUpdates(v []*RecommendedActionUpdate) *ModifyDBRecommendationInput { + s.RecommendedActionUpdates = v + return s +} + +// SetStatus sets the Status field's value. +func (s *ModifyDBRecommendationInput) SetStatus(v string) *ModifyDBRecommendationInput { + s.Status = &v + return s +} + +type ModifyDBRecommendationOutput struct { + _ struct{} `type:"structure"` + + // The recommendation for your DB instances, DB clusters, and DB parameter groups. + DBRecommendation *DBRecommendation `type:"structure"` +} + +// 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 ModifyDBRecommendationOutput) 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 ModifyDBRecommendationOutput) GoString() string { + return s.String() +} + +// SetDBRecommendation sets the DBRecommendation field's value. +func (s *ModifyDBRecommendationOutput) SetDBRecommendation(v *DBRecommendation) *ModifyDBRecommendationOutput { + s.DBRecommendation = v + return s +} + type ModifyDBSnapshotAttributeInput struct { _ struct{} `type:"structure"` @@ -49601,6 +50632,205 @@ func (s *PendingModifiedValues) SetStorageType(v string) *PendingModifiedValues return s } +// A logical grouping of Performance Insights metrics for a related subject +// area. For example, the db.sql dimension group consists of the following dimensions: +// +// - db.sql.id - The hash of a running SQL statement, generated by Performance +// Insights. +// +// - db.sql.db_id - Either the SQL ID generated by the database engine, or +// a value generated by Performance Insights that begins with pi-. +// +// - db.sql.statement - The full text of the SQL statement that is running, +// for example, SELECT * FROM employees. +// +// - db.sql_tokenized.id - The hash of the SQL digest generated by Performance +// Insights. +// +// Each response element returns a maximum of 500 bytes. For larger elements, +// such as SQL statements, only the first 500 bytes are returned. +type PerformanceInsightsMetricDimensionGroup struct { + _ struct{} `type:"structure"` + + // A list of specific dimensions from a dimension group. If this list isn't + // included, then all of the dimensions in the group were requested, or are + // present in the response. + Dimensions []*string `type:"list"` + + // The available dimension groups for Performance Insights metric type. + Group *string `type:"string"` + + // The maximum number of items to fetch for this dimension group. + Limit *int64 `type:"integer"` +} + +// 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 PerformanceInsightsMetricDimensionGroup) 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 PerformanceInsightsMetricDimensionGroup) GoString() string { + return s.String() +} + +// SetDimensions sets the Dimensions field's value. +func (s *PerformanceInsightsMetricDimensionGroup) SetDimensions(v []*string) *PerformanceInsightsMetricDimensionGroup { + s.Dimensions = v + return s +} + +// SetGroup sets the Group field's value. +func (s *PerformanceInsightsMetricDimensionGroup) SetGroup(v string) *PerformanceInsightsMetricDimensionGroup { + s.Group = &v + return s +} + +// SetLimit sets the Limit field's value. +func (s *PerformanceInsightsMetricDimensionGroup) SetLimit(v int64) *PerformanceInsightsMetricDimensionGroup { + s.Limit = &v + return s +} + +// A single Performance Insights metric query to process. You must provide the +// metric to the query. If other parameters aren't specified, Performance Insights +// returns all data points for the specified metric. Optionally, you can request +// the data points to be aggregated by dimension group (GroupBy) and return +// only those data points that match your criteria (Filter). +// +// Constraints: +// +// - Must be a valid Performance Insights query. +type PerformanceInsightsMetricQuery struct { + _ struct{} `type:"structure"` + + // A specification for how to aggregate the data points from a query result. + // You must specify a valid dimension group. Performance Insights will return + // all of the dimensions within that group, unless you provide the names of + // specific dimensions within that group. You can also request that Performance + // Insights return a limited number of values for a dimension. + GroupBy *PerformanceInsightsMetricDimensionGroup `type:"structure"` + + // The name of a Performance Insights metric to be measured. + // + // Valid Values: + // + // * db.load.avg - A scaled representation of the number of active sessions + // for the database engine. + // + // * db.sampledload.avg - The raw number of active sessions for the database + // engine. + // + // * The counter metrics listed in Performance Insights operating system + // counters (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS) + // in the Amazon Aurora User Guide. + // + // If the number of active sessions is less than an internal Performance Insights + // threshold, db.load.avg and db.sampledload.avg are the same value. If the + // number of active sessions is greater than the internal threshold, Performance + // Insights samples the active sessions, with db.load.avg showing the scaled + // values, db.sampledload.avg showing the raw values, and db.sampledload.avg + // less than db.load.avg. For most use cases, you can query db.load.avg only. + Metric *string `type:"string"` +} + +// 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 PerformanceInsightsMetricQuery) 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 PerformanceInsightsMetricQuery) GoString() string { + return s.String() +} + +// SetGroupBy sets the GroupBy field's value. +func (s *PerformanceInsightsMetricQuery) SetGroupBy(v *PerformanceInsightsMetricDimensionGroup) *PerformanceInsightsMetricQuery { + s.GroupBy = v + return s +} + +// SetMetric sets the Metric field's value. +func (s *PerformanceInsightsMetricQuery) SetMetric(v string) *PerformanceInsightsMetricQuery { + s.Metric = &v + return s +} + +// Details of the performance issue. +type PerformanceIssueDetails struct { + _ struct{} `type:"structure"` + + // The analysis of the performance issue. The information might contain markdown. + Analysis *string `type:"string"` + + // The time when the performance issue stopped. + EndTime *time.Time `type:"timestamp"` + + // The metrics that are relevant to the performance issue. + Metrics []*Metric `type:"list"` + + // The time when the performance issue started. + StartTime *time.Time `type:"timestamp"` +} + +// 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 PerformanceIssueDetails) 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 PerformanceIssueDetails) GoString() string { + return s.String() +} + +// SetAnalysis sets the Analysis field's value. +func (s *PerformanceIssueDetails) SetAnalysis(v string) *PerformanceIssueDetails { + s.Analysis = &v + return s +} + +// SetEndTime sets the EndTime field's value. +func (s *PerformanceIssueDetails) SetEndTime(v time.Time) *PerformanceIssueDetails { + s.EndTime = &v + return s +} + +// SetMetrics sets the Metrics field's value. +func (s *PerformanceIssueDetails) SetMetrics(v []*Metric) *PerformanceIssueDetails { + s.Metrics = v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *PerformanceIssueDetails) SetStartTime(v time.Time) *PerformanceIssueDetails { + s.StartTime = &v + return s +} + // Contains the processor features of a DB instance class. // // To specify the number of CPU cores, use the coreCount feature name for the @@ -50330,6 +51560,237 @@ func (s *RebootDBInstanceOutput) SetDBInstance(v *DBInstance) *RebootDBInstanceO return s } +// The recommended actions to apply to resolve the issues associated with your +// DB instances, DB clusters, and DB parameter groups. +type RecommendedAction struct { + _ struct{} `type:"structure"` + + // The unique identifier of the recommended action. + ActionId *string `type:"string"` + + // The methods to apply the recommended action. + // + // Valid values: + // + // * manual - The action requires you to resolve the recommendation manually. + // + // * immediately - The action is applied immediately. + // + // * next-maintainance-window - The action is applied during the next scheduled + // maintainance. + ApplyModes []*string `type:"list"` + + // The supporting attributes to explain the recommended action. + ContextAttributes []*ContextAttribute `type:"list"` + + // A detailed description of the action. The description might contain markdown. + Description *string `type:"string"` + + // The details of the issue. + IssueDetails *IssueDetails `type:"structure"` + + // An API operation for the action. + Operation *string `type:"string"` + + // The parameters for the API operation. + Parameters []*RecommendedActionParameter `type:"list"` + + // The status of the action. + // + // * ready + // + // * applied + // + // * scheduled + // + // * resolved + Status *string `type:"string"` + + // A short description to summarize the action. The description might contain + // markdown. + Title *string `type:"string"` +} + +// 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 RecommendedAction) 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 RecommendedAction) GoString() string { + return s.String() +} + +// SetActionId sets the ActionId field's value. +func (s *RecommendedAction) SetActionId(v string) *RecommendedAction { + s.ActionId = &v + return s +} + +// SetApplyModes sets the ApplyModes field's value. +func (s *RecommendedAction) SetApplyModes(v []*string) *RecommendedAction { + s.ApplyModes = v + return s +} + +// SetContextAttributes sets the ContextAttributes field's value. +func (s *RecommendedAction) SetContextAttributes(v []*ContextAttribute) *RecommendedAction { + s.ContextAttributes = v + return s +} + +// SetDescription sets the Description field's value. +func (s *RecommendedAction) SetDescription(v string) *RecommendedAction { + s.Description = &v + return s +} + +// SetIssueDetails sets the IssueDetails field's value. +func (s *RecommendedAction) SetIssueDetails(v *IssueDetails) *RecommendedAction { + s.IssueDetails = v + return s +} + +// SetOperation sets the Operation field's value. +func (s *RecommendedAction) SetOperation(v string) *RecommendedAction { + s.Operation = &v + return s +} + +// SetParameters sets the Parameters field's value. +func (s *RecommendedAction) SetParameters(v []*RecommendedActionParameter) *RecommendedAction { + s.Parameters = v + return s +} + +// SetStatus sets the Status field's value. +func (s *RecommendedAction) SetStatus(v string) *RecommendedAction { + s.Status = &v + return s +} + +// SetTitle sets the Title field's value. +func (s *RecommendedAction) SetTitle(v string) *RecommendedAction { + s.Title = &v + return s +} + +// A single parameter to use with the RecommendedAction API operation to apply +// the action. +type RecommendedActionParameter struct { + _ struct{} `type:"structure"` + + // The key of the parameter to use with the RecommendedAction API operation. + Key *string `type:"string"` + + // The value of the parameter to use with the RecommendedAction API operation. + Value *string `type:"string"` +} + +// 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 RecommendedActionParameter) 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 RecommendedActionParameter) GoString() string { + return s.String() +} + +// SetKey sets the Key field's value. +func (s *RecommendedActionParameter) SetKey(v string) *RecommendedActionParameter { + s.Key = &v + return s +} + +// SetValue sets the Value field's value. +func (s *RecommendedActionParameter) SetValue(v string) *RecommendedActionParameter { + s.Value = &v + return s +} + +// The recommended status to update for the specified recommendation action +// ID. +type RecommendedActionUpdate struct { + _ struct{} `type:"structure"` + + // A unique identifier of the updated recommendation action. + // + // ActionId is a required field + ActionId *string `type:"string" required:"true"` + + // The status of the updated recommendation action. + // + // * applied + // + // * scheduled + // + // Status is a required field + Status *string `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 RecommendedActionUpdate) 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 RecommendedActionUpdate) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RecommendedActionUpdate) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RecommendedActionUpdate"} + if s.ActionId == nil { + invalidParams.Add(request.NewErrParamRequired("ActionId")) + } + if s.Status == nil { + invalidParams.Add(request.NewErrParamRequired("Status")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetActionId sets the ActionId field's value. +func (s *RecommendedActionUpdate) SetActionId(v string) *RecommendedActionUpdate { + s.ActionId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *RecommendedActionUpdate) SetStatus(v string) *RecommendedActionUpdate { + s.Status = &v + return s +} + // This data type is used as a response element in the DescribeReservedDBInstances // and DescribeReservedDBInstancesOfferings actions. type RecurringCharge struct { @@ -50372,6 +51833,38 @@ func (s *RecurringCharge) SetRecurringChargeFrequency(v string) *RecurringCharge return s } +// The reference details of a metric. +type ReferenceDetails struct { + _ struct{} `type:"structure"` + + // The metric reference details when the reference is a scalar. + ScalarReferenceDetails *ScalarReferenceDetails `type:"structure"` +} + +// 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 ReferenceDetails) 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 ReferenceDetails) GoString() string { + return s.String() +} + +// SetScalarReferenceDetails sets the ScalarReferenceDetails field's value. +func (s *ReferenceDetails) SetScalarReferenceDetails(v *ScalarReferenceDetails) *ReferenceDetails { + s.ScalarReferenceDetails = v + return s +} + type RegisterDBProxyTargetsInput struct { _ struct{} `type:"structure"` @@ -55782,6 +57275,38 @@ func (s *RevokeDBSecurityGroupIngressOutput) SetDBSecurityGroup(v *DBSecurityGro return s } +// The metric reference details when the reference is a scalar. +type ScalarReferenceDetails struct { + _ struct{} `type:"structure"` + + // The value of a scalar reference. + Value *float64 `type:"double"` +} + +// 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 ScalarReferenceDetails) 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 ScalarReferenceDetails) GoString() string { + return s.String() +} + +// SetValue sets the Value field's value. +func (s *ScalarReferenceDetails) SetValue(v float64) *ScalarReferenceDetails { + s.Value = &v + return s +} + // Contains the scaling configuration of an Aurora Serverless v1 DB cluster. // // For more information, see Using Amazon Aurora Serverless v1 (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) diff --git a/service/rds/rdsiface/interface.go b/service/rds/rdsiface/interface.go index b782718e1e9..bc6e86c45ae 100644 --- a/service/rds/rdsiface/interface.go +++ b/service/rds/rdsiface/interface.go @@ -413,6 +413,13 @@ type RDSAPI interface { DescribeDBProxyTargetsPages(*rds.DescribeDBProxyTargetsInput, func(*rds.DescribeDBProxyTargetsOutput, bool) bool) error DescribeDBProxyTargetsPagesWithContext(aws.Context, *rds.DescribeDBProxyTargetsInput, func(*rds.DescribeDBProxyTargetsOutput, bool) bool, ...request.Option) error + DescribeDBRecommendations(*rds.DescribeDBRecommendationsInput) (*rds.DescribeDBRecommendationsOutput, error) + DescribeDBRecommendationsWithContext(aws.Context, *rds.DescribeDBRecommendationsInput, ...request.Option) (*rds.DescribeDBRecommendationsOutput, error) + DescribeDBRecommendationsRequest(*rds.DescribeDBRecommendationsInput) (*request.Request, *rds.DescribeDBRecommendationsOutput) + + DescribeDBRecommendationsPages(*rds.DescribeDBRecommendationsInput, func(*rds.DescribeDBRecommendationsOutput, bool) bool) error + DescribeDBRecommendationsPagesWithContext(aws.Context, *rds.DescribeDBRecommendationsInput, func(*rds.DescribeDBRecommendationsOutput, bool) bool, ...request.Option) error + DescribeDBSecurityGroups(*rds.DescribeDBSecurityGroupsInput) (*rds.DescribeDBSecurityGroupsOutput, error) DescribeDBSecurityGroupsWithContext(aws.Context, *rds.DescribeDBSecurityGroupsInput, ...request.Option) (*rds.DescribeDBSecurityGroupsOutput, error) DescribeDBSecurityGroupsRequest(*rds.DescribeDBSecurityGroupsInput) (*request.Request, *rds.DescribeDBSecurityGroupsOutput) @@ -626,6 +633,10 @@ type RDSAPI interface { ModifyDBProxyTargetGroupWithContext(aws.Context, *rds.ModifyDBProxyTargetGroupInput, ...request.Option) (*rds.ModifyDBProxyTargetGroupOutput, error) ModifyDBProxyTargetGroupRequest(*rds.ModifyDBProxyTargetGroupInput) (*request.Request, *rds.ModifyDBProxyTargetGroupOutput) + ModifyDBRecommendation(*rds.ModifyDBRecommendationInput) (*rds.ModifyDBRecommendationOutput, error) + ModifyDBRecommendationWithContext(aws.Context, *rds.ModifyDBRecommendationInput, ...request.Option) (*rds.ModifyDBRecommendationOutput, error) + ModifyDBRecommendationRequest(*rds.ModifyDBRecommendationInput) (*request.Request, *rds.ModifyDBRecommendationOutput) + ModifyDBSnapshot(*rds.ModifyDBSnapshotInput) (*rds.ModifyDBSnapshotOutput, error) ModifyDBSnapshotWithContext(aws.Context, *rds.ModifyDBSnapshotInput, ...request.Option) (*rds.ModifyDBSnapshotOutput, error) ModifyDBSnapshotRequest(*rds.ModifyDBSnapshotInput) (*request.Request, *rds.ModifyDBSnapshotOutput)