From a3250201da9bc7802ee723fde821a8d40a1fc1ee Mon Sep 17 00:00:00 2001 From: AWS SDK for Ruby Date: Wed, 1 Jun 2022 18:06:27 +0000 Subject: [PATCH] Updated API models and rebuilt service gems. --- apis/backup-gateway/2021-01-01/api-2.json | 72 +++ apis/backup-gateway/2021-01-01/docs-2.json | 54 +- apis/chime-sdk-meetings/2021-07-15/api-2.json | 132 +++- .../chime-sdk-meetings/2021-07-15/docs-2.json | 72 ++- apis/forecast/2018-06-26/api-2.json | 49 +- apis/forecast/2018-06-26/docs-2.json | 43 +- apis/route53/2013-04-01/api-2.json | 429 ++++++++++++- apis/route53/2013-04-01/docs-2.json | 265 +++++++- apis/route53/2013-04-01/paginators-1.json | 18 + gems/aws-sdk-backupgateway/CHANGELOG.md | 5 + gems/aws-sdk-backupgateway/VERSION | 2 +- .../lib/aws-sdk-backupgateway.rb | 2 +- .../lib/aws-sdk-backupgateway/client.rb | 76 ++- .../lib/aws-sdk-backupgateway/client_api.rb | 50 ++ .../lib/aws-sdk-backupgateway/types.rb | 122 +++- gems/aws-sdk-chimesdkmeetings/CHANGELOG.md | 5 + gems/aws-sdk-chimesdkmeetings/VERSION | 2 +- .../lib/aws-sdk-chimesdkmeetings.rb | 2 +- .../lib/aws-sdk-chimesdkmeetings/client.rb | 123 +++- .../aws-sdk-chimesdkmeetings/client_api.rb | 67 ++ .../lib/aws-sdk-chimesdkmeetings/errors.rb | 26 + .../lib/aws-sdk-chimesdkmeetings/types.rb | 221 ++++++- gems/aws-sdk-forecastservice/CHANGELOG.md | 5 + gems/aws-sdk-forecastservice/VERSION | 2 +- .../lib/aws-sdk-forecastservice.rb | 2 +- .../lib/aws-sdk-forecastservice/client.rb | 88 ++- .../lib/aws-sdk-forecastservice/client_api.rb | 21 + .../lib/aws-sdk-forecastservice/types.rb | 209 +++++- gems/aws-sdk-route53/CHANGELOG.md | 5 + gems/aws-sdk-route53/VERSION | 2 +- gems/aws-sdk-route53/lib/aws-sdk-route53.rb | 2 +- .../lib/aws-sdk-route53/client.rb | 318 ++++++++- .../lib/aws-sdk-route53/client_api.rb | 242 ++++++- .../lib/aws-sdk-route53/errors.rb | 96 +++ .../lib/aws-sdk-route53/types.rb | 605 +++++++++++++++++- 35 files changed, 3322 insertions(+), 112 deletions(-) diff --git a/apis/backup-gateway/2021-01-01/api-2.json b/apis/backup-gateway/2021-01-01/api-2.json index adde402d235..347b664274b 100644 --- a/apis/backup-gateway/2021-01-01/api-2.json +++ b/apis/backup-gateway/2021-01-01/api-2.json @@ -86,6 +86,20 @@ {"shape":"ResourceNotFoundException"} ] }, + "GetGateway":{ + "name":"GetGateway", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetGatewayInput"}, + "output":{"shape":"GetGatewayOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"} + ] + }, "ImportHypervisorConfiguration":{ "name":"ImportHypervisorConfiguration", "http":{ @@ -226,6 +240,20 @@ {"shape":"ResourceNotFoundException"} ] }, + "UpdateGatewaySoftwareNow":{ + "name":"UpdateGatewaySoftwareNow", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateGatewaySoftwareNowInput"}, + "output":{"shape":"UpdateGatewaySoftwareNowOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"} + ] + }, "UpdateHypervisor":{ "name":"UpdateHypervisor", "http":{ @@ -371,6 +399,18 @@ "min":50, "pattern":"^arn:(aws|aws-cn|aws-us-gov):backup-gateway(:[a-zA-Z-0-9]+){3}\\/[a-zA-Z-0-9]+$" }, + "GatewayDetails":{ + "type":"structure", + "members":{ + "GatewayArn":{"shape":"GatewayArn"}, + "GatewayDisplayName":{"shape":"Name"}, + "GatewayType":{"shape":"GatewayType"}, + "HypervisorId":{"shape":"HypervisorId"}, + "LastSeenTime":{"shape":"Time"}, + "NextUpdateAvailabilityTime":{"shape":"Time"}, + "VpcEndpoint":{"shape":"VpcEndpoint"} + } + }, "GatewayType":{ "type":"string", "enum":["BACKUP_VM"] @@ -379,6 +419,19 @@ "type":"list", "member":{"shape":"Gateway"} }, + "GetGatewayInput":{ + "type":"structure", + "required":["GatewayArn"], + "members":{ + "GatewayArn":{"shape":"GatewayArn"} + } + }, + "GetGatewayOutput":{ + "type":"structure", + "members":{ + "Gateway":{"shape":"GatewayDetails"} + } + }, "Host":{ "type":"string", "max":128, @@ -686,12 +739,26 @@ "GatewayArn":{"shape":"GatewayArn"} } }, + "UpdateGatewaySoftwareNowInput":{ + "type":"structure", + "required":["GatewayArn"], + "members":{ + "GatewayArn":{"shape":"GatewayArn"} + } + }, + "UpdateGatewaySoftwareNowOutput":{ + "type":"structure", + "members":{ + "GatewayArn":{"shape":"GatewayArn"} + } + }, "UpdateHypervisorInput":{ "type":"structure", "required":["HypervisorArn"], "members":{ "Host":{"shape":"Host"}, "HypervisorArn":{"shape":"ServerArn"}, + "Name":{"shape":"Name"}, "Password":{"shape":"Password"}, "Username":{"shape":"Username"} } @@ -732,6 +799,11 @@ "type":"list", "member":{"shape":"VirtualMachine"} }, + "VpcEndpoint":{ + "type":"string", + "max":255, + "min":1 + }, "string":{"type":"string"} } } diff --git a/apis/backup-gateway/2021-01-01/docs-2.json b/apis/backup-gateway/2021-01-01/docs-2.json index cf8a51c8479..d33eae065f7 100644 --- a/apis/backup-gateway/2021-01-01/docs-2.json +++ b/apis/backup-gateway/2021-01-01/docs-2.json @@ -7,6 +7,7 @@ "DeleteGateway": "

Deletes a backup gateway.

", "DeleteHypervisor": "

Deletes a hypervisor.

", "DisassociateGatewayFromServer": "

Disassociates a backup gateway from the specified server. After the disassociation process finishes, the gateway can no longer access the virtual machines on the server.

", + "GetGateway": "

By providing the ARN (Amazon Resource Name), this API returns the gateway.

", "ImportHypervisorConfiguration": "

Connect to a hypervisor by importing its configuration.

", "ListGateways": "

Lists backup gateways owned by an Amazon Web Services account in an Amazon Web Services Region. The returned list is ordered by gateway Amazon Resource Name (ARN).

", "ListHypervisors": "

Lists your hypervisors.

", @@ -17,6 +18,7 @@ "TestHypervisorConfiguration": "

Tests your hypervisor configuration to validate that backup gateway can connect with the hypervisor and its resources.

", "UntagResource": "

Removes tags from the resource.

", "UpdateGatewayInformation": "

Updates a gateway's name. Specify which gateway to update using the Amazon Resource Name (ARN) of the gateway in your request.

", + "UpdateGatewaySoftwareNow": "

Updates the gateway virtual machine (VM) software. The request immediately triggers the software update.

When you make this request, you get a 200 OK success response immediately. However, it might take some time for the update to complete.

", "UpdateHypervisor": "

Updates a hypervisor metadata, including its host, username, and password. Specify which hypervisor to update using the Amazon Resource Name (ARN) of the hypervisor in your request.

" }, "shapes": { @@ -115,18 +117,29 @@ "DisassociateGatewayFromServerInput$GatewayArn": "

The Amazon Resource Name (ARN) of the gateway to disassociate.

", "DisassociateGatewayFromServerOutput$GatewayArn": "

The Amazon Resource Name (ARN) of the gateway you disassociated.

", "Gateway$GatewayArn": "

The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

", + "GatewayDetails$GatewayArn": "

The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

", + "GetGatewayInput$GatewayArn": "

The Amazon Resource Name (ARN) of the gateway.

", "PutMaintenanceStartTimeInput$GatewayArn": "

The Amazon Resource Name (ARN) for the gateway, used to specify its maintenance start time.

", "PutMaintenanceStartTimeOutput$GatewayArn": "

The Amazon Resource Name (ARN) of a gateway for which you set the maintenance start time.

", "TestHypervisorConfigurationInput$GatewayArn": "

The Amazon Resource Name (ARN) of the gateway to the hypervisor to test.

", "UpdateGatewayInformationInput$GatewayArn": "

The Amazon Resource Name (ARN) of the gateway to update.

", - "UpdateGatewayInformationOutput$GatewayArn": "

The Amazon Resource Name (ARN) of the gateway you updated.

" + "UpdateGatewayInformationOutput$GatewayArn": "

The Amazon Resource Name (ARN) of the gateway you updated.

", + "UpdateGatewaySoftwareNowInput$GatewayArn": "

The Amazon Resource Name (ARN) of the gateway to be updated.

", + "UpdateGatewaySoftwareNowOutput$GatewayArn": "

The Amazon Resource Name (ARN) of the gateway you updated.

" + } + }, + "GatewayDetails": { + "base": "

The details of gateway.

", + "refs": { + "GetGatewayOutput$Gateway": "

By providing the ARN (Amazon Resource Name), this API returns the gateway.

" } }, "GatewayType": { "base": null, "refs": { "CreateGatewayInput$GatewayType": "

The type of created gateway.

", - "Gateway$GatewayType": "

The type of the gateway.

" + "Gateway$GatewayType": "

The type of the gateway.

", + "GatewayDetails$GatewayType": "

The type of the gateway type.

" } }, "Gateways": { @@ -135,6 +148,16 @@ "ListGatewaysOutput$Gateways": "

A list of your gateways.

" } }, + "GetGatewayInput": { + "base": null, + "refs": { + } + }, + "GetGatewayOutput": { + "base": null, + "refs": { + } + }, "Host": { "base": null, "refs": { @@ -159,7 +182,8 @@ "HypervisorId": { "base": null, "refs": { - "Gateway$HypervisorId": "

The hypervisor ID of the gateway.

" + "Gateway$HypervisorId": "

The hypervisor ID of the gateway.

", + "GatewayDetails$HypervisorId": "

The hypervisor ID of the gateway.

" } }, "HypervisorState": { @@ -255,9 +279,11 @@ "refs": { "CreateGatewayInput$GatewayDisplayName": "

The display name of the created gateway.

", "Gateway$GatewayDisplayName": "

The display name of the gateway.

", + "GatewayDetails$GatewayDisplayName": "

The display name of the gateway.

", "Hypervisor$Name": "

The name of the hypervisor.

", "ImportHypervisorConfigurationInput$Name": "

The name of the hypervisor.

", "UpdateGatewayInformationInput$GatewayDisplayName": "

The updated display name of the gateway.

", + "UpdateHypervisorInput$Name": "

The updated name for the hypervisor

", "VirtualMachine$HostName": "

The host name of the virtual machine.

", "VirtualMachine$Name": "

The name of the virtual machine.

" } @@ -306,7 +332,7 @@ "TagResourceOutput$ResourceARN": "

The Amazon Resource Name (ARN) of the resource you tagged.

", "UntagResourceInput$ResourceARN": "

The Amazon Resource Name (ARN) of the resource from which to remove tags.

", "UntagResourceOutput$ResourceARN": "

The Amazon Resource Name (ARN) of the resource from which you removed tags.

", - "VirtualMachine$ResourceArn": "

The Amazon Resource Name (ARN) of the virtual machine.

" + "VirtualMachine$ResourceArn": "

The Amazon Resource Name (ARN) of the virtual machine. For example, arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL.

" } }, "ResourceNotFoundException": { @@ -358,7 +384,7 @@ "TagValue": { "base": null, "refs": { - "Tag$Value": "

The key part of a value's key-value pair.

" + "Tag$Value": "

The value part of a tag's key-value pair.

" } }, "Tags": { @@ -384,6 +410,8 @@ "base": null, "refs": { "Gateway$LastSeenTime": "

The last time Backup gateway communicated with the gateway, in Unix format and UTC time.

", + "GatewayDetails$LastSeenTime": "

Details showing the last time Backup gateway communicated with the cloud, in Unix format and UTC time.

", + "GatewayDetails$NextUpdateAvailabilityTime": "

Details showing the next update availability time of the gateway.

", "VirtualMachine$LastBackupDate": "

The most recent date a virtual machine was backed up, in Unix format and UTC time.

" } }, @@ -407,6 +435,16 @@ "refs": { } }, + "UpdateGatewaySoftwareNowInput": { + "base": null, + "refs": { + } + }, + "UpdateGatewaySoftwareNowOutput": { + "base": null, + "refs": { + } + }, "UpdateHypervisorInput": { "base": null, "refs": { @@ -442,6 +480,12 @@ "ListVirtualMachinesOutput$VirtualMachines": "

A list of your VirtualMachine objects, ordered by their Amazon Resource Names (ARNs).

" } }, + "VpcEndpoint": { + "base": null, + "refs": { + "GatewayDetails$VpcEndpoint": "

The DNS name for the virtual private cloud (VPC) endpoint the gateway uses to connect to the cloud for backup gateway.

" + } + }, "string": { "base": null, "refs": { diff --git a/apis/chime-sdk-meetings/2021-07-15/api-2.json b/apis/chime-sdk-meetings/2021-07-15/api-2.json index 626c6d49438..d43cb73b561 100644 --- a/apis/chime-sdk-meetings/2021-07-15/api-2.json +++ b/apis/chime-sdk-meetings/2021-07-15/api-2.json @@ -31,6 +31,23 @@ {"shape":"ThrottlingException"} ] }, + "BatchUpdateAttendeeCapabilitiesExcept":{ + "name":"BatchUpdateAttendeeCapabilitiesExcept", + "http":{ + "method":"PUT", + "requestUri":"/meetings/{MeetingId}/attendees/capabilities?operation=batch-update-except", + "responseCode":200 + }, + "input":{"shape":"BatchUpdateAttendeeCapabilitiesExceptRequest"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ConflictException"}, + {"shape":"UnauthorizedException"}, + {"shape":"NotFoundException"}, + {"shape":"ForbiddenException"}, + {"shape":"ServiceUnavailableException"} + ] + }, "CreateAttendee":{ "name":"CreateAttendee", "http":{ @@ -216,6 +233,23 @@ {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ] + }, + "UpdateAttendeeCapabilities":{ + "name":"UpdateAttendeeCapabilities", + "http":{ + "method":"PUT", + "requestUri":"/meetings/{MeetingId}/attendees/{AttendeeId}/capabilities" + }, + "input":{"shape":"UpdateAttendeeCapabilitiesRequest"}, + "output":{"shape":"UpdateAttendeeCapabilitiesResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ConflictException"}, + {"shape":"UnauthorizedException"}, + {"shape":"NotFoundException"}, + {"shape":"ForbiddenException"}, + {"shape":"ServiceUnavailableException"} + ] } }, "shapes":{ @@ -231,9 +265,36 @@ "members":{ "ExternalUserId":{"shape":"ExternalUserId"}, "AttendeeId":{"shape":"GuidString"}, - "JoinToken":{"shape":"JoinTokenString"} + "JoinToken":{"shape":"JoinTokenString"}, + "Capabilities":{"shape":"AttendeeCapabilities"} + } + }, + "AttendeeCapabilities":{ + "type":"structure", + "required":[ + "Audio", + "Video", + "Content" + ], + "members":{ + "Audio":{"shape":"MediaCapabilities"}, + "Video":{"shape":"MediaCapabilities"}, + "Content":{"shape":"MediaCapabilities"} } }, + "AttendeeIdItem":{ + "type":"structure", + "required":["AttendeeId"], + "members":{ + "AttendeeId":{"shape":"GuidString"} + } + }, + "AttendeeIdsList":{ + "type":"list", + "member":{"shape":"AttendeeIdItem"}, + "max":250, + "min":1 + }, "AttendeeList":{ "type":"list", "member":{"shape":"Attendee"} @@ -280,6 +341,23 @@ "Errors":{"shape":"BatchCreateAttendeeErrorList"} } }, + "BatchUpdateAttendeeCapabilitiesExceptRequest":{ + "type":"structure", + "required":[ + "MeetingId", + "ExcludedAttendeeIds", + "Capabilities" + ], + "members":{ + "MeetingId":{ + "shape":"GuidString", + "location":"uri", + "locationName":"MeetingId" + }, + "ExcludedAttendeeIds":{"shape":"AttendeeIdsList"}, + "Capabilities":{"shape":"AttendeeCapabilities"} + } + }, "Boolean":{"type":"boolean"}, "ClientRequestToken":{ "type":"string", @@ -288,6 +366,16 @@ "pattern":"[-_a-zA-Z0-9]*", "sensitive":true }, + "ConflictException":{ + "type":"structure", + "members":{ + "Code":{"shape":"String"}, + "Message":{"shape":"String"}, + "RequestId":{"shape":"String"} + }, + "error":{"httpStatusCode":409}, + "exception":true + }, "CreateAttendeeError":{ "type":"structure", "members":{ @@ -308,14 +396,16 @@ "location":"uri", "locationName":"MeetingId" }, - "ExternalUserId":{"shape":"ExternalUserId"} + "ExternalUserId":{"shape":"ExternalUserId"}, + "Capabilities":{"shape":"AttendeeCapabilities"} } }, "CreateAttendeeRequestItem":{ "type":"structure", "required":["ExternalUserId"], "members":{ - "ExternalUserId":{"shape":"ExternalUserId"} + "ExternalUserId":{"shape":"ExternalUserId"}, + "Capabilities":{"shape":"AttendeeCapabilities"} } }, "CreateAttendeeRequestItemList":{ @@ -569,6 +659,15 @@ "NextToken":{"shape":"String"} } }, + "MediaCapabilities":{ + "type":"string", + "enum":[ + "SendReceive", + "Send", + "Receive", + "None" + ] + }, "MediaPlacement":{ "type":"structure", "members":{ @@ -848,6 +947,33 @@ }, "error":{"httpStatusCode":422}, "exception":true + }, + "UpdateAttendeeCapabilitiesRequest":{ + "type":"structure", + "required":[ + "MeetingId", + "AttendeeId", + "Capabilities" + ], + "members":{ + "MeetingId":{ + "shape":"GuidString", + "location":"uri", + "locationName":"MeetingId" + }, + "AttendeeId":{ + "shape":"GuidString", + "location":"uri", + "locationName":"AttendeeId" + }, + "Capabilities":{"shape":"AttendeeCapabilities"} + } + }, + "UpdateAttendeeCapabilitiesResponse":{ + "type":"structure", + "members":{ + "Attendee":{"shape":"Attendee"} + } } } } diff --git a/apis/chime-sdk-meetings/2021-07-15/docs-2.json b/apis/chime-sdk-meetings/2021-07-15/docs-2.json index 01be2a88949..48d419775cd 100644 --- a/apis/chime-sdk-meetings/2021-07-15/docs-2.json +++ b/apis/chime-sdk-meetings/2021-07-15/docs-2.json @@ -3,6 +3,7 @@ "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.

", "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.

", "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.

", @@ -12,7 +13,8 @@ "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.

", "StartMeetingTranscription": "

Starts transcription for the specified meetingId.

", - "StopMeetingTranscription": "

Stops transcription for the specified meetingId.

" + "StopMeetingTranscription": "

Stops transcription for the specified meetingId.

", + "UpdateAttendeeCapabilities": "

The capabilties that you want to update.

" }, "shapes": { "Arn": { @@ -28,7 +30,30 @@ "refs": { "AttendeeList$member": null, "CreateAttendeeResponse$Attendee": "

The attendee information, including attendee ID and join token.

", - "GetAttendeeResponse$Attendee": "

The Amazon Chime SDK attendee information.

" + "GetAttendeeResponse$Attendee": "

The Amazon Chime SDK attendee information.

", + "UpdateAttendeeCapabilitiesResponse$Attendee": null + } + }, + "AttendeeCapabilities": { + "base": "

The media capabilities of an attendee, including audio, video and content.

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

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

", + "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.

", + "CreateAttendeeRequestItem$Capabilities": "

A list of one or more capabilities.

", + "UpdateAttendeeCapabilitiesRequest$Capabilities": "

The capabilties that you want to update.

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

A structure that contains one or more attendee IDs.

", + "refs": { + "AttendeeIdsList$member": null + } + }, + "AttendeeIdsList": { + "base": null, + "refs": { + "BatchUpdateAttendeeCapabilitiesExceptRequest$ExcludedAttendeeIds": "

The AttendeeIDs that you want to exclude from one or more capabilities.

" } }, "AttendeeList": { @@ -67,6 +92,11 @@ "refs": { } }, + "BatchUpdateAttendeeCapabilitiesExceptRequest": { + "base": null, + "refs": { + } + }, "Boolean": { "base": null, "refs": { @@ -81,6 +111,11 @@ "CreateMeetingWithAttendeesRequest$ClientRequestToken": "

The unique identifier for the client request. Use a different token for different meetings.

" } }, + "ConflictException": { + "base": "

Multiple instances of the same request have been made simultaneously.

", + "refs": { + } + }, "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": { @@ -207,7 +242,9 @@ "base": null, "refs": { "Attendee$AttendeeId": "

The Amazon Chime SDK attendee ID.

", + "AttendeeIdItem$AttendeeId": "

A list of one or more attendee IDs.

", "BatchCreateAttendeeRequest$MeetingId": "

The Amazon Chime SDK ID of the meeting to which you're adding attendees.

", + "BatchUpdateAttendeeCapabilitiesExceptRequest$MeetingId": "

The ID of the meeting associated with the update request.

", "CreateAttendeeRequest$MeetingId": "

The unique ID of the meeting.

", "DeleteAttendeeRequest$MeetingId": "

The Amazon Chime SDK meeting ID.

", "DeleteAttendeeRequest$AttendeeId": "

The Amazon Chime SDK attendee ID.

", @@ -218,7 +255,9 @@ "ListAttendeesRequest$MeetingId": "

The Amazon Chime SDK meeting ID.

", "Meeting$MeetingId": "

The Amazon Chime SDK meeting ID.

", "StartMeetingTranscriptionRequest$MeetingId": "

The unique ID of the meeting being transcribed.

", - "StopMeetingTranscriptionRequest$MeetingId": "

The unique ID of the meeting for which you stop transcription.

" + "StopMeetingTranscriptionRequest$MeetingId": "

The unique ID of the meeting for which you stop transcription.

", + "UpdateAttendeeCapabilitiesRequest$MeetingId": "

The ID of the meeting associated with the update request.

", + "UpdateAttendeeCapabilitiesRequest$AttendeeId": "

The ID of the attendee associated with the update request.

" } }, "JoinTokenString": { @@ -242,6 +281,14 @@ "refs": { } }, + "MediaCapabilities": { + "base": null, + "refs": { + "AttendeeCapabilities$Audio": "

The audio capability assigned to an attendee.

", + "AttendeeCapabilities$Video": "

The video capability assigned to an attendee.

", + "AttendeeCapabilities$Content": "

The content capability assigned to an attendee.

" + } + }, "MediaPlacement": { "base": "

A set of endpoints used by clients to connect to the media service group for an Amazon Chime SDK meeting.

", "refs": { @@ -311,7 +358,7 @@ } }, "ServiceFailureException": { - "base": "

The service encountered an unexpected error.

", + "base": "

The service is currently unavailable.

", "refs": { } }, @@ -336,6 +383,9 @@ "BadRequestException$Code": null, "BadRequestException$Message": null, "BadRequestException$RequestId": "

The request id associated with the call responsible for the exception.

", + "ConflictException$Code": null, + "ConflictException$Message": null, + "ConflictException$RequestId": null, "CreateAttendeeError$ErrorCode": "

The error code.

", "CreateAttendeeError$ErrorMessage": "

The error message.

", "EngineTranscribeMedicalSettings$VocabularyName": "

The name of the vocabulary passed to Amazon Transcribe Medical.

", @@ -359,7 +409,7 @@ "MediaPlacement$EventIngestionUrl": "

The event ingestion URL.

", "NotFoundException$Code": null, "NotFoundException$Message": null, - "NotFoundException$RequestId": "

The request id associated with the call responsible for the exception.

", + "NotFoundException$RequestId": "

The request ID associated with the call responsible for the exception.

", "ServiceFailureException$Code": null, "ServiceFailureException$Message": null, "ServiceFailureException$RequestId": null, @@ -378,7 +428,7 @@ } }, "ThrottlingException": { - "base": "

The number of customer requests exceeds the request rate limit.

", + "base": "

The number of requests exceeds the limit.

", "refs": { } }, @@ -482,6 +532,16 @@ "base": "

The request was well-formed but was unable to be followed due to semantic errors.

", "refs": { } + }, + "UpdateAttendeeCapabilitiesRequest": { + "base": null, + "refs": { + } + }, + "UpdateAttendeeCapabilitiesResponse": { + "base": null, + "refs": { + } } } } diff --git a/apis/forecast/2018-06-26/api-2.json b/apis/forecast/2018-06-26/api-2.json index cd713140ba6..45a84b2b48f 100644 --- a/apis/forecast/2018-06-26/api-2.json +++ b/apis/forecast/2018-06-26/api-2.json @@ -925,7 +925,8 @@ "TimeZone":{"shape":"TimeZone"}, "UseGeolocationForTimeZone":{"shape":"UseGeolocationForTimeZone"}, "GeolocationFormat":{"shape":"GeolocationFormat"}, - "Tags":{"shape":"Tags"} + "Tags":{"shape":"Tags"}, + "Format":{"shape":"Format"} } }, "CreateDatasetImportJobResponse":{ @@ -969,7 +970,8 @@ "ExplainabilityExportName":{"shape":"Name"}, "ExplainabilityArn":{"shape":"Arn"}, "Destination":{"shape":"DataDestination"}, - "Tags":{"shape":"Tags"} + "Tags":{"shape":"Tags"}, + "Format":{"shape":"Format"} } }, "CreateExplainabilityExportResponse":{ @@ -1014,7 +1016,8 @@ "ForecastExportJobName":{"shape":"Name"}, "ForecastArn":{"shape":"Arn"}, "Destination":{"shape":"DataDestination"}, - "Tags":{"shape":"Tags"} + "Tags":{"shape":"Tags"}, + "Format":{"shape":"Format"} } }, "CreateForecastExportJobResponse":{ @@ -1033,7 +1036,8 @@ "ForecastName":{"shape":"Name"}, "PredictorArn":{"shape":"Arn"}, "ForecastTypes":{"shape":"ForecastTypes"}, - "Tags":{"shape":"Tags"} + "Tags":{"shape":"Tags"}, + "TimeSeriesSelector":{"shape":"TimeSeriesSelector"} } }, "CreateForecastResponse":{ @@ -1071,7 +1075,8 @@ "PredictorBacktestExportJobName":{"shape":"Name"}, "PredictorArn":{"shape":"Arn"}, "Destination":{"shape":"DataDestination"}, - "Tags":{"shape":"Tags"} + "Tags":{"shape":"Tags"}, + "Format":{"shape":"Format"} } }, "CreatePredictorBacktestExportJobResponse":{ @@ -1355,7 +1360,8 @@ "Status":{"shape":"Status"}, "Message":{"shape":"Message"}, "CreationTime":{"shape":"Timestamp"}, - "LastModificationTime":{"shape":"Timestamp"} + "LastModificationTime":{"shape":"Timestamp"}, + "Format":{"shape":"Format"} } }, "DescribeDatasetRequest":{ @@ -1397,7 +1403,8 @@ "Message":{"shape":"Message"}, "Status":{"shape":"Status"}, "CreationTime":{"shape":"Timestamp"}, - "LastModificationTime":{"shape":"Timestamp"} + "LastModificationTime":{"shape":"Timestamp"}, + "Format":{"shape":"Format"} } }, "DescribeExplainabilityRequest":{ @@ -1443,7 +1450,8 @@ "Message":{"shape":"Message"}, "Status":{"shape":"Status"}, "CreationTime":{"shape":"Timestamp"}, - "LastModificationTime":{"shape":"Timestamp"} + "LastModificationTime":{"shape":"Timestamp"}, + "Format":{"shape":"Format"} } }, "DescribeForecastRequest":{ @@ -1465,7 +1473,8 @@ "Status":{"shape":"String"}, "Message":{"shape":"ErrorMessage"}, "CreationTime":{"shape":"Timestamp"}, - "LastModificationTime":{"shape":"Timestamp"} + "LastModificationTime":{"shape":"Timestamp"}, + "TimeSeriesSelector":{"shape":"TimeSeriesSelector"} } }, "DescribeMonitorRequest":{ @@ -1508,7 +1517,8 @@ "Message":{"shape":"Message"}, "Status":{"shape":"Status"}, "CreationTime":{"shape":"Timestamp"}, - "LastModificationTime":{"shape":"Timestamp"} + "LastModificationTime":{"shape":"Timestamp"}, + "Format":{"shape":"Format"} } }, "DescribePredictorRequest":{ @@ -1795,6 +1805,11 @@ "type":"list", "member":{"shape":"ForecastSummary"} }, + "Format":{ + "type":"string", + "max":7, + "pattern":"^CSV|PARQUET$" + }, "Frequency":{ "type":"string", "max":5, @@ -2521,6 +2536,20 @@ "SPECIFIC" ] }, + "TimeSeriesIdentifiers":{ + "type":"structure", + "members":{ + "DataSource":{"shape":"DataSource"}, + "Schema":{"shape":"Schema"}, + "Format":{"shape":"Format"} + } + }, + "TimeSeriesSelector":{ + "type":"structure", + "members":{ + "TimeSeriesIdentifiers":{"shape":"TimeSeriesIdentifiers"} + } + }, "TimeZone":{ "type":"string", "max":256, diff --git a/apis/forecast/2018-06-26/docs-2.json b/apis/forecast/2018-06-26/docs-2.json index 6939b8eca90..51cb4b1a11e 100644 --- a/apis/forecast/2018-06-26/docs-2.json +++ b/apis/forecast/2018-06-26/docs-2.json @@ -5,14 +5,14 @@ "CreateAutoPredictor": "

Creates an Amazon Forecast predictor.

Amazon Forecast creates predictors with AutoPredictor, which involves applying the optimal combination of algorithms to each time series in your datasets. You can use CreateAutoPredictor to create new predictors or upgrade/retrain existing predictors.

Creating new predictors

The following parameters are required when creating a new predictor:

When creating a new predictor, do not specify a value for ReferencePredictorArn.

Upgrading and retraining predictors

The following parameters are required when retraining or upgrading a predictor:

When upgrading or retraining a predictor, only specify values for the ReferencePredictorArn and PredictorName.

", "CreateDataset": "

Creates an Amazon Forecast dataset. The information about the dataset that you provide helps Forecast understand how to consume the data for model training. This includes the following:

After creating a dataset, you import your training data into it and add the dataset to a dataset group. You use the dataset group to create a predictor. For more information, see Importing datasets.

To get a list of all your datasets, use the ListDatasets operation.

For example Forecast datasets, see the Amazon Forecast Sample GitHub repository.

The Status of a dataset must be ACTIVE before you can import training data. Use the DescribeDataset operation to get the status.

", "CreateDatasetGroup": "

Creates a dataset group, which holds a collection of related datasets. You can add datasets to the dataset group when you create the dataset group, or later by using the UpdateDatasetGroup operation.

After creating a dataset group and adding datasets, you use the dataset group when you create a predictor. For more information, see Dataset groups.

To get a list of all your datasets groups, use the ListDatasetGroups operation.

The Status of a dataset group must be ACTIVE before you can use the dataset group to create a predictor. To get the status, use the DescribeDatasetGroup operation.

", - "CreateDatasetImportJob": "

Imports your training data to an Amazon Forecast dataset. You provide the location of your training data in an Amazon Simple Storage Service (Amazon S3) bucket and the Amazon Resource Name (ARN) of the dataset that you want to import the data to.

You must specify a DataSource object that includes an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data, as Amazon Forecast makes a copy of your data and processes it in an internal AWS system. For more information, see Set up permissions.

The training data must be in CSV format. The delimiter must be a comma (,).

You can specify the path to a specific CSV file, the S3 bucket, or to a folder in the S3 bucket. For the latter two cases, Amazon Forecast imports all files up to the limit of 10,000 files.

Because dataset imports are not aggregated, your most recent dataset import is the one that is used when training a predictor or generating a forecast. Make sure that your most recent dataset import contains all of the data you want to model off of, and not just the new data collected since the previous import.

To get a list of all your dataset import jobs, filtered by specified criteria, use the ListDatasetImportJobs operation.

", + "CreateDatasetImportJob": "

Imports your training data to an Amazon Forecast dataset. You provide the location of your training data in an Amazon Simple Storage Service (Amazon S3) bucket and the Amazon Resource Name (ARN) of the dataset that you want to import the data to.

You must specify a DataSource object that includes an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data, as Amazon Forecast makes a copy of your data and processes it in an internal AWS system. For more information, see Set up permissions.

The training data must be in CSV or Parquet format. The delimiter must be a comma (,).

You can specify the path to a specific file, the S3 bucket, or to a folder in the S3 bucket. For the latter two cases, Amazon Forecast imports all files up to the limit of 10,000 files.

Because dataset imports are not aggregated, your most recent dataset import is the one that is used when training a predictor or generating a forecast. Make sure that your most recent dataset import contains all of the data you want to model off of, and not just the new data collected since the previous import.

To get a list of all your dataset import jobs, filtered by specified criteria, use the ListDatasetImportJobs operation.

", "CreateExplainability": "

Explainability is only available for Forecasts and Predictors generated from an AutoPredictor (CreateAutoPredictor)

Creates an Amazon Forecast Explainability.

Explainability helps you better understand how the attributes in your datasets impact forecast. Amazon Forecast uses a metric called Impact scores to quantify the relative impact of each attribute and determine whether they increase or decrease forecast values.

To enable Forecast Explainability, your predictor must include at least one of the following: related time series, item metadata, or additional datasets like Holidays and the Weather Index.

CreateExplainability accepts either a Predictor ARN or Forecast ARN. To receive aggregated Impact scores for all time series and time points in your datasets, provide a Predictor ARN. To receive Impact scores for specific time series and time points, provide a Forecast ARN.

CreateExplainability with a Predictor ARN

You can only have one Explainability resource per predictor. If you already enabled ExplainPredictor in CreateAutoPredictor, that predictor already has an Explainability resource.

The following parameters are required when providing a Predictor ARN:

Do not specify a value for the following parameters:

CreateExplainability with a Forecast ARN

You can specify a maximum of 50 time series and 500 time points.

The following parameters are required when providing a Predictor ARN:

If you set TimeSeriesGranularity to “SPECIFIC”, you must also provide the following:

If you set TimePointGranularity to “SPECIFIC”, you must also provide the following:

", "CreateExplainabilityExport": "

Exports an Explainability resource created by the CreateExplainability operation. Exported files are exported to an Amazon Simple Storage Service (Amazon S3) bucket.

You must specify a DataDestination object that includes an Amazon S3 bucket and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles.

The Status of the export job must be ACTIVE before you can access the export in your Amazon S3 bucket. To get the status, use the DescribeExplainabilityExport operation.

", - "CreateForecast": "

Creates a forecast for each item in the TARGET_TIME_SERIES dataset that was used to train the predictor. This is known as inference. To retrieve the forecast for a single item at low latency, use the operation. To export the complete forecast into your Amazon Simple Storage Service (Amazon S3) bucket, use the CreateForecastExportJob operation.

The range of the forecast is determined by the ForecastHorizon value, which you specify in the CreatePredictor request. When you query a forecast, you can request a specific date range within the forecast.

To get a list of all your forecasts, use the ListForecasts operation.

The forecasts generated by Amazon Forecast are in the same time zone as the dataset that was used to create the predictor.

For more information, see howitworks-forecast.

The Status of the forecast must be ACTIVE before you can query or export the forecast. Use the DescribeForecast operation to get the status.

", + "CreateForecast": "

Creates a forecast for each item in the TARGET_TIME_SERIES dataset that was used to train the predictor. This is known as inference. To retrieve the forecast for a single item at low latency, use the operation. To export the complete forecast into your Amazon Simple Storage Service (Amazon S3) bucket, use the CreateForecastExportJob operation.

The range of the forecast is determined by the ForecastHorizon value, which you specify in the CreatePredictor request. When you query a forecast, you can request a specific date range within the forecast.

To get a list of all your forecasts, use the ListForecasts operation.

The forecasts generated by Amazon Forecast are in the same time zone as the dataset that was used to create the predictor.

For more information, see howitworks-forecast.

The Status of the forecast must be ACTIVE before you can query or export the forecast. Use the DescribeForecast operation to get the status.

By default, a forecast includes predictions for every item (item_id) in the dataset group that was used to train the predictor. However, you can use the TimeSeriesSelector object to generate a forecast on a subset of time series. Forecast creation is skipped for any time series that you specify that are not in the input dataset. The forecast export file will not contain these time series or their forecasted values.

", "CreateForecastExportJob": "

Exports a forecast created by the CreateForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket. The forecast file name will match the following conventions:

<ForecastExportJobName>_<ExportTimestamp>_<PartNumber>

where the <ExportTimestamp> component is in Java SimpleDateFormat (yyyy-MM-ddTHH-mm-ssZ).

You must specify a DataDestination object that includes an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles.

For more information, see howitworks-forecast.

To get a list of all your forecast export jobs, use the ListForecastExportJobs operation.

The Status of the forecast export job must be ACTIVE before you can access the forecast in your Amazon S3 bucket. To get the status, use the DescribeForecastExportJob operation.

", "CreateMonitor": "

Creates a predictor monitor resource for an existing auto predictor. Predictor monitoring allows you to see how your predictor's performance changes over time. For more information, see Predictor Monitoring.

", "CreatePredictor": "

This operation creates a legacy predictor that does not include all the predictor functionalities provided by Amazon Forecast. To create a predictor that is compatible with all aspects of Forecast, use CreateAutoPredictor.

Creates an Amazon Forecast predictor.

In the request, provide a dataset group and either specify an algorithm or let Amazon Forecast choose an algorithm for you using AutoML. If you specify an algorithm, you also can override algorithm-specific hyperparameters.

Amazon Forecast uses the algorithm to train a predictor using the latest version of the datasets in the specified dataset group. You can then generate a forecast using the CreateForecast operation.

To see the evaluation metrics, use the GetAccuracyMetrics operation.

You can specify a featurization configuration to fill and aggregate the data fields in the TARGET_TIME_SERIES dataset to improve model training. For more information, see FeaturizationConfig.

For RELATED_TIME_SERIES datasets, CreatePredictor verifies that the DataFrequency specified when the dataset was created matches the ForecastFrequency. TARGET_TIME_SERIES datasets don't have this restriction. Amazon Forecast also verifies the delimiter and timestamp format. For more information, see howitworks-datasets-groups.

By default, predictors are trained and evaluated at the 0.1 (P10), 0.5 (P50), and 0.9 (P90) quantiles. You can choose custom forecast types to train and evaluate your predictor by setting the ForecastTypes.

AutoML

If you want Amazon Forecast to evaluate each algorithm and choose the one that minimizes the objective function, set PerformAutoML to true. The objective function is defined as the mean of the weighted losses over the forecast types. By default, these are the p10, p50, and p90 quantile losses. For more information, see EvaluationResult.

When AutoML is enabled, the following properties are disallowed:

To get a list of all of your predictors, use the ListPredictors operation.

Before you can use the predictor to create a forecast, the Status of the predictor must be ACTIVE, signifying that training has completed. To get the status, use the DescribePredictor operation.

", - "CreatePredictorBacktestExportJob": "

Exports backtest forecasts and accuracy metrics generated by the CreateAutoPredictor or CreatePredictor operations. Two folders containing CSV files are exported to your specified S3 bucket.

The export file names will match the following conventions:

<ExportJobName>_<ExportTimestamp>_<PartNumber>.csv

The <ExportTimestamp> component is in Java SimpleDate format (yyyy-MM-ddTHH-mm-ssZ).

You must specify a DataDestination object that includes an Amazon S3 bucket and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles.

The Status of the export job must be ACTIVE before you can access the export in your Amazon S3 bucket. To get the status, use the DescribePredictorBacktestExportJob operation.

", + "CreatePredictorBacktestExportJob": "

Exports backtest forecasts and accuracy metrics generated by the CreateAutoPredictor or CreatePredictor operations. Two folders containing CSV or Parquet files are exported to your specified S3 bucket.

The export file names will match the following conventions:

<ExportJobName>_<ExportTimestamp>_<PartNumber>.csv

The <ExportTimestamp> component is in Java SimpleDate format (yyyy-MM-ddTHH-mm-ssZ).

You must specify a DataDestination object that includes an Amazon S3 bucket and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles.

The Status of the export job must be ACTIVE before you can access the export in your Amazon S3 bucket. To get the status, use the DescribePredictorBacktestExportJob operation.

", "DeleteDataset": "

Deletes an Amazon Forecast dataset that was created using the CreateDataset operation. You can only delete datasets that have a status of ACTIVE or CREATE_FAILED. To get the status use the DescribeDataset operation.

Forecast does not automatically update any dataset groups that contain the deleted dataset. In order to update the dataset group, use the UpdateDatasetGroup operation, omitting the deleted dataset's ARN.

", "DeleteDatasetGroup": "

Deletes a dataset group created using the CreateDatasetGroup operation. You can only delete dataset groups that have a status of ACTIVE, CREATE_FAILED, or UPDATE_FAILED. To get the status, use the DescribeDatasetGroup operation.

This operation deletes only the dataset group, not the datasets in the group.

", "DeleteDatasetImportJob": "

Deletes a dataset import job created using the CreateDatasetImportJob operation. You can delete only dataset import jobs that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeDatasetImportJob operation.

", @@ -117,7 +117,7 @@ "DescribeDatasetResponse$DatasetArn": "

The Amazon Resource Name (ARN) of the dataset.

", "DescribeExplainabilityExportRequest$ExplainabilityExportArn": "

The Amazon Resource Name (ARN) of the Explainability export.

", "DescribeExplainabilityExportResponse$ExplainabilityExportArn": "

The Amazon Resource Name (ARN) of the Explainability export.

", - "DescribeExplainabilityExportResponse$ExplainabilityArn": "

The Amazon Resource Name (ARN) of the Explainability.

", + "DescribeExplainabilityExportResponse$ExplainabilityArn": "

The Amazon Resource Name (ARN) of the Explainability export.

", "DescribeExplainabilityRequest$ExplainabilityArn": "

The Amazon Resource Name (ARN) of the Explaianability to describe.

", "DescribeExplainabilityResponse$ExplainabilityArn": "

The Amazon Resource Name (ARN) of the Explainability.

", "DescribeExplainabilityResponse$ResourceArn": "

The Amazon Resource Name (ARN) of the Predictor or Forecast used to create the Explainability resource.

", @@ -409,7 +409,8 @@ "CreateExplainabilityRequest$DataSource": null, "DatasetImportJobSummary$DataSource": "

The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data. The training data must be stored in an Amazon S3 bucket.

If encryption is used, DataSource includes an AWS Key Management Service (KMS) key.

", "DescribeDatasetImportJobResponse$DataSource": "

The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data.

If encryption is used, DataSource includes an AWS Key Management Service (KMS) key.

", - "DescribeExplainabilityResponse$DataSource": null + "DescribeExplainabilityResponse$DataSource": null, + "TimeSeriesIdentifiers$DataSource": null } }, "DatasetGroupSummary": { @@ -900,6 +901,20 @@ "ListForecastsResponse$Forecasts": "

An array of objects that summarize each forecast's properties.

" } }, + "Format": { + "base": null, + "refs": { + "CreateDatasetImportJobRequest$Format": "

The format of the imported data, CSV or PARQUET. The default value is CSV.

", + "CreateExplainabilityExportRequest$Format": "

The format of the exported data, CSV or PARQUET.

", + "CreateForecastExportJobRequest$Format": "

The format of the exported data, CSV or PARQUET. The default value is CSV.

", + "CreatePredictorBacktestExportJobRequest$Format": "

The format of the exported data, CSV or PARQUET. The default value is CSV.

", + "DescribeDatasetImportJobResponse$Format": "

The format of the imported data, CSV or PARQUET.

", + "DescribeExplainabilityExportResponse$Format": "

The format of the exported data, CSV or PARQUET.

", + "DescribeForecastExportJobResponse$Format": "

The format of the exported data, CSV or PARQUET.

", + "DescribePredictorBacktestExportJobResponse$Format": "

The format of the exported data, CSV or PARQUET.

", + "TimeSeriesIdentifiers$Format": "

The format of the data, either CSV or PARQUET.

" + } + }, "Frequency": { "base": null, "refs": { @@ -1468,7 +1483,8 @@ "CreateDatasetRequest$Schema": "

The schema for the dataset. The schema attributes and their order must match the fields in your data. The dataset Domain and DatasetType that you choose determine the minimum required fields in your training data. For information about the required fields for a specific dataset domain and type, see Dataset Domains and Dataset Types.

", "CreateExplainabilityRequest$Schema": null, "DescribeDatasetResponse$Schema": "

An array of SchemaAttribute objects that specify the dataset fields. Each SchemaAttribute specifies the name and data type of a field.

", - "DescribeExplainabilityResponse$Schema": null + "DescribeExplainabilityResponse$Schema": null, + "TimeSeriesIdentifiers$Schema": null } }, "SchemaAttribute": { @@ -1637,7 +1653,20 @@ "TimeSeriesGranularity": { "base": null, "refs": { - "ExplainabilityConfig$TimeSeriesGranularity": "

To create an Explainability for all time series in your datasets, use ALL. To create an Explainability for specific time series in your datasets, use SPECIFIC.

Specify time series by uploading a CSV file to an Amazon S3 bucket and set the location within the DataDestination data type.

" + "ExplainabilityConfig$TimeSeriesGranularity": "

To create an Explainability for all time series in your datasets, use ALL. To create an Explainability for specific time series in your datasets, use SPECIFIC.

Specify time series by uploading a CSV or Parquet file to an Amazon S3 bucket and set the location within the DataDestination data type.

" + } + }, + "TimeSeriesIdentifiers": { + "base": "

Details about the import file that contains the time series for which you want to create forecasts.

", + "refs": { + "TimeSeriesSelector$TimeSeriesIdentifiers": "

Details about the import file that contains the time series for which you want to create forecasts.

" + } + }, + "TimeSeriesSelector": { + "base": "

Defines the set of time series that are used to create the forecasts in a TimeSeriesIdentifiers object.

The TimeSeriesIdentifiers object needs the following information:

", + "refs": { + "CreateForecastRequest$TimeSeriesSelector": "

Defines the set of time series that are used to create the forecasts in a TimeSeriesIdentifiers object.

The TimeSeriesIdentifiers object needs the following information:

", + "DescribeForecastResponse$TimeSeriesSelector": "

The time series to include in the forecast.

" } }, "TimeZone": { diff --git a/apis/route53/2013-04-01/api-2.json b/apis/route53/2013-04-01/api-2.json index dfe35f41b3e..20f3adb912c 100644 --- a/apis/route53/2013-04-01/api-2.json +++ b/apis/route53/2013-04-01/api-2.json @@ -52,6 +52,27 @@ {"shape":"PriorRequestNotComplete"} ] }, + "ChangeCidrCollection":{ + "name":"ChangeCidrCollection", + "http":{ + "method":"POST", + "requestUri":"/2013-04-01/cidrcollection/{CidrCollectionId}" + }, + "input":{ + "shape":"ChangeCidrCollectionRequest", + "locationName":"ChangeCidrCollectionRequest", + "xmlNamespace":{"uri":"https://route53.amazonaws.com/doc/2013-04-01/"} + }, + "output":{"shape":"ChangeCidrCollectionResponse"}, + "errors":[ + {"shape":"NoSuchCidrCollectionException"}, + {"shape":"CidrCollectionVersionMismatchException"}, + {"shape":"InvalidInput"}, + {"shape":"CidrBlockInUseException"}, + {"shape":"LimitsExceeded"}, + {"shape":"ConcurrentModification"} + ] + }, "ChangeResourceRecordSets":{ "name":"ChangeResourceRecordSets", "http":{ @@ -92,6 +113,26 @@ {"shape":"ThrottlingException"} ] }, + "CreateCidrCollection":{ + "name":"CreateCidrCollection", + "http":{ + "method":"POST", + "requestUri":"/2013-04-01/cidrcollection", + "responseCode":201 + }, + "input":{ + "shape":"CreateCidrCollectionRequest", + "locationName":"CreateCidrCollectionRequest", + "xmlNamespace":{"uri":"https://route53.amazonaws.com/doc/2013-04-01/"} + }, + "output":{"shape":"CreateCidrCollectionResponse"}, + "errors":[ + {"shape":"LimitsExceeded"}, + {"shape":"InvalidInput"}, + {"shape":"CidrCollectionAlreadyExistsException"}, + {"shape":"ConcurrentModification"} + ] + }, "CreateHealthCheck":{ "name":"CreateHealthCheck", "http":{ @@ -307,6 +348,21 @@ {"shape":"InvalidInput"} ] }, + "DeleteCidrCollection":{ + "name":"DeleteCidrCollection", + "http":{ + "method":"DELETE", + "requestUri":"/2013-04-01/cidrcollection/{CidrCollectionId}" + }, + "input":{"shape":"DeleteCidrCollectionRequest"}, + "output":{"shape":"DeleteCidrCollectionResponse"}, + "errors":[ + {"shape":"NoSuchCidrCollectionException"}, + {"shape":"CidrCollectionInUseException"}, + {"shape":"InvalidInput"}, + {"shape":"ConcurrentModification"} + ] + }, "DeleteHealthCheck":{ "name":"DeleteHealthCheck", "http":{ @@ -715,6 +771,45 @@ "input":{"shape":"GetTrafficPolicyInstanceCountRequest"}, "output":{"shape":"GetTrafficPolicyInstanceCountResponse"} }, + "ListCidrBlocks":{ + "name":"ListCidrBlocks", + "http":{ + "method":"GET", + "requestUri":"/2013-04-01/cidrcollection/{CidrCollectionId}/cidrblocks" + }, + "input":{"shape":"ListCidrBlocksRequest"}, + "output":{"shape":"ListCidrBlocksResponse"}, + "errors":[ + {"shape":"NoSuchCidrCollectionException"}, + {"shape":"NoSuchCidrLocationException"}, + {"shape":"InvalidInput"} + ] + }, + "ListCidrCollections":{ + "name":"ListCidrCollections", + "http":{ + "method":"GET", + "requestUri":"/2013-04-01/cidrcollection" + }, + "input":{"shape":"ListCidrCollectionsRequest"}, + "output":{"shape":"ListCidrCollectionsResponse"}, + "errors":[ + {"shape":"InvalidInput"} + ] + }, + "ListCidrLocations":{ + "name":"ListCidrLocations", + "http":{ + "method":"GET", + "requestUri":"/2013-04-01/cidrcollection/{CidrCollectionId}" + }, + "input":{"shape":"ListCidrLocationsRequest"}, + "output":{"shape":"ListCidrLocationsResponse"}, + "errors":[ + {"shape":"NoSuchCidrCollectionException"}, + {"shape":"InvalidInput"} + ] + }, "ListGeoLocations":{ "name":"ListGeoLocations", "http":{ @@ -1024,6 +1119,12 @@ } }, "shapes":{ + "ARN":{ + "type":"string", + "max":2048, + "min":20, + "pattern":".*\\S.*" + }, "AWSAccountID":{"type":"string"}, "AccountLimit":{ "type":"structure", @@ -1153,6 +1254,34 @@ "Changes":{"shape":"Changes"} } }, + "ChangeCidrCollectionRequest":{ + "type":"structure", + "required":[ + "Id", + "Changes" + ], + "members":{ + "Id":{ + "shape":"UUID", + "location":"uri", + "locationName":"CidrCollectionId" + }, + "CollectionVersion":{"shape":"CollectionVersion"}, + "Changes":{"shape":"CidrCollectionChanges"} + } + }, + "ChangeCidrCollectionResponse":{ + "type":"structure", + "required":["Id"], + "members":{ + "Id":{"shape":"ChangeId"} + } + }, + "ChangeId":{ + "type":"string", + "max":6500, + "min":1 + }, "ChangeInfo":{ "type":"structure", "required":[ @@ -1242,6 +1371,127 @@ }, "max":256 }, + "Cidr":{ + "type":"string", + "max":50, + "min":1, + "pattern":".*\\S.*" + }, + "CidrBlockInUseException":{ + "type":"structure", + "members":{ + "Message":{"shape":"ErrorMessage"} + }, + "error":{"httpStatusCode":400}, + "exception":true + }, + "CidrBlockSummaries":{ + "type":"list", + "member":{"shape":"CidrBlockSummary"} + }, + "CidrBlockSummary":{ + "type":"structure", + "members":{ + "CidrBlock":{"shape":"Cidr"}, + "LocationName":{"shape":"CidrLocationNameDefaultNotAllowed"} + } + }, + "CidrCollection":{ + "type":"structure", + "members":{ + "Arn":{"shape":"ARN"}, + "Id":{"shape":"UUID"}, + "Name":{"shape":"CollectionName"}, + "Version":{"shape":"CollectionVersion"} + } + }, + "CidrCollectionAlreadyExistsException":{ + "type":"structure", + "members":{ + "Message":{"shape":"ErrorMessage"} + }, + "exception":true + }, + "CidrCollectionChange":{ + "type":"structure", + "required":[ + "LocationName", + "Action", + "CidrList" + ], + "members":{ + "LocationName":{"shape":"CidrLocationNameDefaultNotAllowed"}, + "Action":{"shape":"CidrCollectionChangeAction"}, + "CidrList":{"shape":"CidrList"} + } + }, + "CidrCollectionChangeAction":{ + "type":"string", + "enum":[ + "PUT", + "DELETE_IF_EXISTS" + ] + }, + "CidrCollectionChanges":{ + "type":"list", + "member":{"shape":"CidrCollectionChange"}, + "max":1000, + "min":1 + }, + "CidrCollectionInUseException":{ + "type":"structure", + "members":{ + "Message":{"shape":"ErrorMessage"} + }, + "error":{"httpStatusCode":400}, + "exception":true + }, + "CidrCollectionVersionMismatchException":{ + "type":"structure", + "members":{ + "Message":{"shape":"ErrorMessage"} + }, + "error":{"httpStatusCode":409}, + "exception":true + }, + "CidrList":{ + "type":"list", + "member":{ + "shape":"Cidr", + "locationName":"Cidr" + }, + "max":1000, + "min":1 + }, + "CidrLocationNameDefaultAllowed":{ + "type":"string", + "max":16, + "min":1, + "pattern":"[0-9A-Za-z_\\-\\*]+" + }, + "CidrLocationNameDefaultNotAllowed":{ + "type":"string", + "max":16, + "min":1, + "pattern":"[0-9A-Za-z_\\-]+" + }, + "CidrNonce":{ + "type":"string", + "max":64, + "min":1, + "pattern":"\\p{ASCII}+" + }, + "CidrRoutingConfig":{ + "type":"structure", + "required":[ + "CollectionId", + "LocationName" + ], + "members":{ + "CollectionId":{"shape":"UUID"}, + "LocationName":{"shape":"CidrLocationNameDefaultAllowed"} + } + }, "CloudWatchAlarmConfiguration":{ "type":"structure", "required":[ @@ -1301,6 +1551,29 @@ "max":64, "min":1 }, + "CollectionName":{ + "type":"string", + "max":64, + "min":1, + "pattern":"[0-9A-Za-z_\\-]+" + }, + "CollectionSummaries":{ + "type":"list", + "member":{"shape":"CollectionSummary"} + }, + "CollectionSummary":{ + "type":"structure", + "members":{ + "Arn":{"shape":"ARN"}, + "Id":{"shape":"UUID"}, + "Name":{"shape":"CollectionName"}, + "Version":{"shape":"CollectionVersion"} + } + }, + "CollectionVersion":{ + "type":"long", + "min":1 + }, "ComparisonOperator":{ "type":"string", "enum":[ @@ -1333,6 +1606,28 @@ "error":{"httpStatusCode":400}, "exception":true }, + "CreateCidrCollectionRequest":{ + "type":"structure", + "required":[ + "Name", + "CallerReference" + ], + "members":{ + "Name":{"shape":"CollectionName"}, + "CallerReference":{"shape":"CidrNonce"} + } + }, + "CreateCidrCollectionResponse":{ + "type":"structure", + "members":{ + "Collection":{"shape":"CidrCollection"}, + "Location":{ + "shape":"ResourceURI", + "location":"header", + "locationName":"Location" + } + } + }, "CreateHealthCheckRequest":{ "type":"structure", "required":[ @@ -1697,6 +1992,22 @@ "locationName":"DelegationSet" } }, + "DeleteCidrCollectionRequest":{ + "type":"structure", + "required":["Id"], + "members":{ + "Id":{ + "shape":"UUID", + "location":"uri", + "locationName":"CidrCollectionId" + } + } + }, + "DeleteCidrCollectionResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteHealthCheckRequest":{ "type":"structure", "required":["HealthCheckId"], @@ -2039,7 +2350,7 @@ "required":["Id"], "members":{ "Id":{ - "shape":"ResourceId", + "shape":"ChangeId", "location":"uri", "locationName":"Id" } @@ -2823,6 +3134,89 @@ "Description":{"shape":"ResourceDescription"} } }, + "ListCidrBlocksRequest":{ + "type":"structure", + "required":["CollectionId"], + "members":{ + "CollectionId":{ + "shape":"UUID", + "location":"uri", + "locationName":"CidrCollectionId" + }, + "LocationName":{ + "shape":"CidrLocationNameDefaultNotAllowed", + "location":"querystring", + "locationName":"location" + }, + "NextToken":{ + "shape":"PaginationToken", + "location":"querystring", + "locationName":"nexttoken" + }, + "MaxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxresults" + } + } + }, + "ListCidrBlocksResponse":{ + "type":"structure", + "members":{ + "NextToken":{"shape":"PaginationToken"}, + "CidrBlocks":{"shape":"CidrBlockSummaries"} + } + }, + "ListCidrCollectionsRequest":{ + "type":"structure", + "members":{ + "NextToken":{ + "shape":"PaginationToken", + "location":"querystring", + "locationName":"nexttoken" + }, + "MaxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxresults" + } + } + }, + "ListCidrCollectionsResponse":{ + "type":"structure", + "members":{ + "NextToken":{"shape":"PaginationToken"}, + "CidrCollections":{"shape":"CollectionSummaries"} + } + }, + "ListCidrLocationsRequest":{ + "type":"structure", + "required":["CollectionId"], + "members":{ + "CollectionId":{ + "shape":"UUID", + "location":"uri", + "locationName":"CidrCollectionId" + }, + "NextToken":{ + "shape":"PaginationToken", + "location":"querystring", + "locationName":"nexttoken" + }, + "MaxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxresults" + } + } + }, + "ListCidrLocationsResponse":{ + "type":"structure", + "members":{ + "NextToken":{"shape":"PaginationToken"}, + "CidrLocations":{"shape":"LocationSummaries"} + } + }, "ListGeoLocationsRequest":{ "type":"structure", "members":{ @@ -3399,6 +3793,16 @@ "VPCs":{"shape":"VPCs"} } }, + "LocationSummaries":{ + "type":"list", + "member":{"shape":"LocationSummary"} + }, + "LocationSummary":{ + "type":"structure", + "members":{ + "LocationName":{"shape":"CidrLocationNameDefaultAllowed"} + } + }, "MaxResults":{"type":"string"}, "MeasureLatency":{"type":"boolean"}, "Message":{ @@ -3428,6 +3832,22 @@ "error":{"httpStatusCode":404}, "exception":true }, + "NoSuchCidrCollectionException":{ + "type":"structure", + "members":{ + "Message":{"shape":"ErrorMessage"} + }, + "error":{"httpStatusCode":404}, + "exception":true + }, + "NoSuchCidrLocationException":{ + "type":"structure", + "members":{ + "Message":{"shape":"ErrorMessage"} + }, + "error":{"httpStatusCode":404}, + "exception":true + }, "NoSuchCloudWatchLogsLogGroup":{ "type":"structure", "members":{ @@ -3676,7 +4096,8 @@ "ResourceRecords":{"shape":"ResourceRecords"}, "AliasTarget":{"shape":"AliasTarget"}, "HealthCheckId":{"shape":"HealthCheckId"}, - "TrafficPolicyInstanceId":{"shape":"TrafficPolicyInstanceId"} + "TrafficPolicyInstanceId":{"shape":"TrafficPolicyInstanceId"}, + "CidrRoutingConfig":{"shape":"CidrRoutingConfig"} } }, "ResourceRecordSetFailover":{ @@ -4160,6 +4581,10 @@ "max":4 }, "TransportProtocol":{"type":"string"}, + "UUID":{ + "type":"string", + "pattern":"[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}" + }, "UpdateHealthCheckRequest":{ "type":"structure", "required":["HealthCheckId"], diff --git a/apis/route53/2013-04-01/docs-2.json b/apis/route53/2013-04-01/docs-2.json index 73f9c6e13d8..946604e1392 100644 --- a/apis/route53/2013-04-01/docs-2.json +++ b/apis/route53/2013-04-01/docs-2.json @@ -4,10 +4,12 @@ "operations": { "ActivateKeySigningKey": "

Activates a key-signing key (KSK) so that it can be used for signing by DNSSEC. This operation changes the KSK status to ACTIVE.

", "AssociateVPCWithHostedZone": "

Associates an Amazon VPC with a private hosted zone.

To perform the association, the VPC and the private hosted zone must already exist. You can't convert a public hosted zone into a private hosted zone.

If you want to associate a VPC that was created by using one Amazon Web Services account with a private hosted zone that was created by using a different account, the Amazon Web Services account that created the private hosted zone must first submit a CreateVPCAssociationAuthorization request. Then the account that created the VPC must submit an AssociateVPCWithHostedZone request.

When granting access, the hosted zone and the Amazon VPC must belong to the same partition. A partition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one partition.

The following are the supported partitions:

For more information, see Access Management in the Amazon Web Services General Reference.

", + "ChangeCidrCollection": "

Creates, changes, or deletes CIDR blocks within a collection. Contains authoritative IP information mapping blocks to one or multiple locations.

A change request can update multiple locations in a collection at a time, which is helpful if you want to move one or more CIDR blocks from one location to another in one transaction, without downtime.

Limits

The max number of CIDR blocks included in the request is 1000. As a result, big updates require multiple API calls.

PUT and DELETE_IF_EXISTS

Use ChangeCidrCollection to perform the following actions:

", "ChangeResourceRecordSets": "

Creates, changes, or deletes a resource record set, which contains authoritative DNS information for a specified domain name or subdomain name. For example, you can use ChangeResourceRecordSets to create a resource record set that routes traffic for test.example.com to a web server that has an IP address of 192.0.2.44.

Deleting Resource Record Sets

To delete a resource record set, you must specify all the same values that you specified when you created it.

Change Batches and Transactional Changes

The request body must include a document with a ChangeResourceRecordSetsRequest element. The request body contains a list of change items, known as a change batch. Change batches are considered transactional changes. Route 53 validates the changes in the request and then either makes all or none of the changes in the change batch request. This ensures that DNS routing isn't adversely affected by partial changes to the resource record sets in a hosted zone.

For example, suppose a change batch request contains two changes: it deletes the CNAME resource record set for www.example.com and creates an alias resource record set for www.example.com. If validation for both records succeeds, Route 53 deletes the first resource record set and creates the second resource record set in a single operation. If validation for either the DELETE or the CREATE action fails, then the request is canceled, and the original CNAME record continues to exist.

If you try to delete the same resource record set more than once in a single change batch, Route 53 returns an InvalidChangeBatch error.

Traffic Flow

To create resource record sets for complex routing configurations, use either the traffic flow visual editor in the Route 53 console or the API actions for traffic policies and traffic policy instances. Save the configuration as a traffic policy, then associate the traffic policy with one or more domain names (such as example.com) or subdomain names (such as www.example.com), in the same hosted zone or in multiple hosted zones. You can roll back the updates if the new configuration isn't performing as expected. For more information, see Using Traffic Flow to Route DNS Traffic in the Amazon Route 53 Developer Guide.

Create, Delete, and Upsert

Use ChangeResourceRecordsSetsRequest to perform the following actions:

Syntaxes for Creating, Updating, and Deleting Resource Record Sets

The syntax for a request depends on the type of resource record set that you want to create, delete, or update, such as weighted, alias, or failover. The XML elements in your request must appear in the order listed in the syntax.

For an example for each type of resource record set, see \"Examples.\"

Don't refer to the syntax in the \"Parameter Syntax\" section, which includes all of the elements for every kind of resource record set that you can create, delete, or update by using ChangeResourceRecordSets.

Change Propagation to Route 53 DNS Servers

When you submit a ChangeResourceRecordSets request, Route 53 propagates your changes to all of the Route 53 authoritative DNS servers. While your changes are propagating, GetChange returns a status of PENDING. When propagation is complete, GetChange returns a status of INSYNC. Changes generally propagate to all Route 53 name servers within 60 seconds. For more information, see GetChange.

Limits on ChangeResourceRecordSets Requests

For information about the limits on a ChangeResourceRecordSets request, see Limits in the Amazon Route 53 Developer Guide.

", "ChangeTagsForResource": "

Adds, edits, or deletes tags for a health check or a hosted zone.

For information about using tags for cost allocation, see Using Cost Allocation Tags in the Billing and Cost Management User Guide.

", + "CreateCidrCollection": "

Creates a CIDR collection in the current Amazon Web Services account.

", "CreateHealthCheck": "

Creates a new health check.

For information about adding health checks to resource record sets, see HealthCheckId in ChangeResourceRecordSets.

ELB Load Balancers

If you're registering EC2 instances with an Elastic Load Balancing (ELB) load balancer, do not create Amazon Route 53 health checks for the EC2 instances. When you register an EC2 instance with a load balancer, you configure settings for an ELB health check, which performs a similar function to a Route 53 health check.

Private Hosted Zones

You can associate health checks with failover resource record sets in a private hosted zone. Note the following:

", - "CreateHostedZone": "

Creates a new public or private hosted zone. You create records in a public hosted zone to define how you want to route traffic on the internet for a domain, such as example.com, and its subdomains (apex.example.com, acme.example.com). You create records in a private hosted zone to define how you want to route traffic for a domain and its subdomains within one or more Amazon Virtual Private Clouds (Amazon VPCs).

You can't convert a public hosted zone to a private hosted zone or vice versa. Instead, you must create a new hosted zone with the same name and create new resource record sets.

For more information about charges for hosted zones, see Amazon Route 53 Pricing.

Note the following:

When you submit a CreateHostedZone request, the initial status of the hosted zone is PENDING. For public hosted zones, this means that the NS and SOA records are not yet available on all Route 53 DNS servers. When the NS and SOA records are available, the status of the zone changes to INSYNC.

The CreateHostedZone request requires the caller to have an ec2:DescribeVpcs permission.

When creating private hosted zones, the Amazon VPC must belong to the same partition where the hosted zone is created. A partition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one partition.

The following are the supported partitions:

For more information, see Access Management in the Amazon Web Services General Reference.

", + "CreateHostedZone": "

Creates a new public or private hosted zone. You create records in a public hosted zone to define how you want to route traffic on the internet for a domain, such as example.com, and its subdomains (apex.example.com, acme.example.com). You create records in a private hosted zone to define how you want to route traffic for a domain and its subdomains within one or more Amazon Virtual Private Clouds (Amazon VPCs).

You can't convert a public hosted zone to a private hosted zone or vice versa. Instead, you must create a new hosted zone with the same name and create new resource record sets.

For more information about charges for hosted zones, see Amazon Route 53 Pricing.

Note the following:

When you submit a CreateHostedZone request, the initial status of the hosted zone is PENDING. For public hosted zones, this means that the NS and SOA records are not yet available on all Route 53 DNS servers. When the NS and SOA records are available, the status of the zone changes to INSYNC.

The CreateHostedZone request requires the caller to have an ec2:DescribeVpcs permission.

When creating private hosted zones, the Amazon VPC must belong to the same partition where the hosted zone is created. A partition is a group of Amazon Web Services Regions. Each Amazon Web Services account is scoped to one partition.

The following are the supported partitions:

For more information, see Access Management in the Amazon Web Services General Reference.

", "CreateKeySigningKey": "

Creates a new key-signing key (KSK) associated with a hosted zone. You can only have two KSKs per hosted zone.

", "CreateQueryLoggingConfig": "

Creates a configuration for DNS query logging. After you create a query logging configuration, Amazon Route 53 begins to publish log data to an Amazon CloudWatch Logs log group.

DNS query logs contain information about the queries that Route 53 receives for a specified public hosted zone, such as the following:

Log Group and Resource Policy

Before you create a query logging configuration, perform the following operations.

If you create a query logging configuration using the Route 53 console, Route 53 performs these operations automatically.

  1. Create a CloudWatch Logs log group, and make note of the ARN, which you specify when you create a query logging configuration. Note the following:

    • You must create the log group in the us-east-1 region.

    • You must use the same Amazon Web Services account to create the log group and the hosted zone that you want to configure query logging for.

    • When you create log groups for query logging, we recommend that you use a consistent prefix, for example:

      /aws/route53/hosted zone name

      In the next step, you'll create a resource policy, which controls access to one or more log groups and the associated Amazon Web Services resources, such as Route 53 hosted zones. There's a limit on the number of resource policies that you can create, so we recommend that you use a consistent prefix so you can use the same resource policy for all the log groups that you create for query logging.

  2. Create a CloudWatch Logs resource policy, and give it the permissions that Route 53 needs to create log streams and to send query logs to log streams. For the value of Resource, specify the ARN for the log group that you created in the previous step. To use the same resource policy for all the CloudWatch Logs log groups that you created for query logging configurations, replace the hosted zone name with *, for example:

    arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*

    To avoid the confused deputy problem, a security issue where an entity without a permission for an action can coerce a more-privileged entity to perform it, you can optionally limit the permissions that a service has to a resource in a resource-based policy by supplying the following values:

    • For aws:SourceArn, supply the hosted zone ARN used in creating the query logging configuration. For example, aws:SourceArn: arn:aws:route53:::hostedzone/hosted zone ID.

    • For aws:SourceAccount, supply the account ID for the account that creates the query logging configuration. For example, aws:SourceAccount:111111111111.

    For more information, see The confused deputy problem in the Amazon Web Services IAM User Guide.

    You can't use the CloudWatch console to create or edit a resource policy. You must use the CloudWatch API, one of the Amazon Web Services SDKs, or the CLI.

Log Streams and Edge Locations

When Route 53 finishes creating the configuration for DNS query logging, it does the following:

  • Creates a log stream for an edge location the first time that the edge location responds to DNS queries for the specified hosted zone. That log stream is used to log all queries that Route 53 responds to for that edge location.

  • Begins to send query logs to the applicable log stream.

The name of each log stream is in the following format:

hosted zone ID/edge location code

The edge location code is a three-letter code and an arbitrarily assigned number, for example, DFW3. The three-letter code typically corresponds with the International Air Transport Association airport code for an airport near the edge location. (These abbreviations might change in the future.) For a list of edge locations, see \"The Route 53 Global Network\" on the Route 53 Product Details page.

Queries That Are Logged

Query logs contain only the queries that DNS resolvers forward to Route 53. If a DNS resolver has already cached the response to a query (such as the IP address for a load balancer for example.com), the resolver will continue to return the cached response. It doesn't forward another query to Route 53 until the TTL for the corresponding resource record set expires. Depending on how many DNS queries are submitted for a resource record set, and depending on the TTL for that resource record set, query logs might contain information about only one query out of every several thousand queries that are submitted to DNS. For more information about how DNS works, see Routing Internet Traffic to Your Website or Web Application in the Amazon Route 53 Developer Guide.

Log File Format

For a list of the values in each query log and the format of each value, see Logging DNS Queries in the Amazon Route 53 Developer Guide.

Pricing

For information about charges for query logs, see Amazon CloudWatch Pricing.

How to Stop Logging

If you want Route 53 to stop sending query logs to CloudWatch Logs, delete the query logging configuration. For more information, see DeleteQueryLoggingConfig.

", "CreateReusableDelegationSet": "

Creates a delegation set (a group of four name servers) that can be reused by multiple hosted zones that were created by the same Amazon Web Services account.

You can also create a reusable delegation set that uses the four name servers that are associated with an existing hosted zone. Specify the hosted zone ID in the CreateReusableDelegationSet request.

You can't associate a reusable delegation set with a private hosted zone.

For information about using a reusable delegation set to configure white label name servers, see Configuring White Label Name Servers.

The process for migrating existing hosted zones to use a reusable delegation set is comparable to the process for configuring white label name servers. You need to perform the following steps:

  1. Create a reusable delegation set.

  2. Recreate hosted zones, and reduce the TTL to 60 seconds or less.

  3. Recreate resource record sets in the new hosted zones.

  4. Change the registrar's name servers to use the name servers for the new hosted zones.

  5. Monitor traffic for the website or application.

  6. Change TTLs back to their original values.

If you want to migrate existing hosted zones to use a reusable delegation set, the existing hosted zones can't use any of the name servers that are assigned to the reusable delegation set. If one or more hosted zones do use one or more name servers that are assigned to the reusable delegation set, you can do one of the following:

", @@ -16,8 +18,9 @@ "CreateTrafficPolicyVersion": "

Creates a new version of an existing traffic policy. When you create a new version of a traffic policy, you specify the ID of the traffic policy that you want to update and a JSON-formatted document that describes the new version. You use traffic policies to create multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com). You can create a maximum of 1000 versions of a traffic policy. If you reach the limit and need to create another version, you'll need to start a new traffic policy.

", "CreateVPCAssociationAuthorization": "

Authorizes the Amazon Web Services account that created a specified VPC to submit an AssociateVPCWithHostedZone request to associate the VPC with a specified hosted zone that was created by a different account. To submit a CreateVPCAssociationAuthorization request, you must use the account that created the hosted zone. After you authorize the association, use the account that created the VPC to submit an AssociateVPCWithHostedZone request.

If you want to associate multiple VPCs that you created by using one account with a hosted zone that you created by using a different account, you must submit one authorization request for each VPC.

", "DeactivateKeySigningKey": "

Deactivates a key-signing key (KSK) so that it will not be used for signing by DNSSEC. This operation changes the KSK status to INACTIVE.

", + "DeleteCidrCollection": "

Deletes a CIDR collection in the current Amazon Web Services account. The collection must be empty before it can be deleted.

", "DeleteHealthCheck": "

Deletes a health check.

Amazon Route 53 does not prevent you from deleting a health check even if the health check is associated with one or more resource record sets. If you delete a health check and you don't update the associated resource record sets, the future status of the health check can't be predicted and may change. This will affect the routing of DNS queries for your DNS failover configuration. For more information, see Replacing and Deleting Health Checks in the Amazon Route 53 Developer Guide.

If you're using Cloud Map and you configured Cloud Map to create a Route 53 health check when you register an instance, you can't use the Route 53 DeleteHealthCheck command to delete the health check. The health check is deleted automatically when you deregister the instance; there can be a delay of several hours before the health check is deleted from Route 53.

", - "DeleteHostedZone": "

Deletes a hosted zone.

If the hosted zone was created by another service, such as Cloud Map, see Deleting Public Hosted Zones That Were Created by Another Service in the Amazon Route 53 Developer Guide for information about how to delete it. (The process is the same for public and private hosted zones that were created by another service.)

If you want to keep your domain registration but you want to stop routing internet traffic to your website or web application, we recommend that you delete resource record sets in the hosted zone instead of deleting the hosted zone.

If you delete a hosted zone, you can't undelete it. You must create a new hosted zone and update the name servers for your domain registration, which can require up to 48 hours to take effect. (If you delegated responsibility for a subdomain to a hosted zone and you delete the child hosted zone, you must update the name servers in the parent hosted zone.) In addition, if you delete a hosted zone, someone could hijack the domain and route traffic to their own resources using your domain name.

If you want to avoid the monthly charge for the hosted zone, you can transfer DNS service for the domain to a free DNS service. When you transfer DNS service, you have to update the name servers for the domain registration. If the domain is registered with Route 53, see UpdateDomainNameservers for information about how to replace Route 53 name servers with name servers for the new DNS service. If the domain is registered with another registrar, use the method provided by the registrar to update name servers for the domain registration. For more information, perform an internet search on \"free DNS service.\"

You can delete a hosted zone only if it contains only the default SOA record and NS resource record sets. If the hosted zone contains other resource record sets, you must delete them before you can delete the hosted zone. If you try to delete a hosted zone that contains other resource record sets, the request fails, and Route 53 returns a HostedZoneNotEmpty error. For information about deleting records from your hosted zone, see ChangeResourceRecordSets.

To verify that the hosted zone has been deleted, do one of the following:

", + "DeleteHostedZone": "

Deletes a hosted zone.

If the hosted zone was created by another service, such as Cloud Map, see Deleting Public Hosted Zones That Were Created by Another Service in the Amazon Route 53 Developer Guide for information about how to delete it. (The process is the same for public and private hosted zones that were created by another service.)

If you want to keep your domain registration but you want to stop routing internet traffic to your website or web application, we recommend that you delete resource record sets in the hosted zone instead of deleting the hosted zone.

If you delete a hosted zone, you can't undelete it. You must create a new hosted zone and update the name servers for your domain registration, which can require up to 48 hours to take effect. (If you delegated responsibility for a subdomain to a hosted zone and you delete the child hosted zone, you must update the name servers in the parent hosted zone.) In addition, if you delete a hosted zone, someone could hijack the domain and route traffic to their own resources using your domain name.

If you want to avoid the monthly charge for the hosted zone, you can transfer DNS service for the domain to a free DNS service. When you transfer DNS service, you have to update the name servers for the domain registration. If the domain is registered with Route 53, see UpdateDomainNameservers for information about how to replace Route 53 name servers with name servers for the new DNS service. If the domain is registered with another registrar, use the method provided by the registrar to update name servers for the domain registration. For more information, perform an internet search on \"free DNS service.\"

You can delete a hosted zone only if it contains only the default SOA record and NS resource record sets. If the hosted zone contains other resource record sets, you must delete them before you can delete the hosted zone. If you try to delete a hosted zone that contains other resource record sets, the request fails, and Route 53 returns a HostedZoneNotEmpty error. For information about deleting records from your hosted zone, see ChangeResourceRecordSets.

To verify that the hosted zone has been deleted, do one of the following:

", "DeleteKeySigningKey": "

Deletes a key-signing key (KSK). Before you can delete a KSK, you must deactivate it. The KSK must be deactivated before you can delete it regardless of whether the hosted zone is enabled for DNSSEC signing.

You can use DeactivateKeySigningKey to deactivate the key before you delete it.

Use GetDNSSEC to verify that the KSK is in an INACTIVE status.

", "DeleteQueryLoggingConfig": "

Deletes a configuration for DNS query logging. If you delete a configuration, Amazon Route 53 stops sending query logs to CloudWatch Logs. Route 53 doesn't delete any logs that are already in CloudWatch Logs.

For more information about DNS query logs, see CreateQueryLoggingConfig.

", "DeleteReusableDelegationSet": "

Deletes a reusable delegation set.

You can delete a reusable delegation set only if it isn't associated with any hosted zones.

To verify that the reusable delegation set is not associated with any hosted zones, submit a GetReusableDelegationSet request and specify the ID of the reusable delegation set that you want to delete.

", @@ -45,6 +48,9 @@ "GetTrafficPolicy": "

Gets information about a specific traffic policy version.

For information about how of deleting a traffic policy affects the response from GetTrafficPolicy, see DeleteTrafficPolicy.

", "GetTrafficPolicyInstance": "

Gets information about a specified traffic policy instance.

After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element.

In the Route 53 console, traffic policy instances are known as policy records.

", "GetTrafficPolicyInstanceCount": "

Gets the number of traffic policy instances that are associated with the current Amazon Web Services account.

", + "ListCidrBlocks": "

Returns a paginated list of location objects and their CIDR blocks.

", + "ListCidrCollections": "

Returns a paginated list of CIDR collections in the Amazon Web Services account (metadata only).

", + "ListCidrLocations": "

Returns a paginated list of CIDR locations for the given collection (metadata only, does not include CIDR blocks).

", "ListGeoLocations": "

Retrieves a list of supported geographic locations.

Countries are listed first, and continents are listed last. If Amazon Route 53 supports subdivisions for a country (for example, states or provinces), the subdivisions for that country are listed in alphabetical order immediately after the corresponding country.

Route 53 does not perform authorization for this API because it retrieves information that is already available to the public.

For a list of supported geolocation codes, see the GeoLocation data type.

", "ListHealthChecks": "

Retrieve a list of the health checks that are associated with the current Amazon Web Services account.

", "ListHostedZones": "

Retrieves a list of the public and private hosted zones that are associated with the current Amazon Web Services account. The response includes a HostedZones child element for each hosted zone.

Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of hosted zones, you can use the maxitems parameter to list them in groups of up to 100.

", @@ -68,6 +74,13 @@ "UpdateTrafficPolicyInstance": "

Updates the resource record sets in a specified hosted zone that were created based on the settings in a specified traffic policy version.

When you update a traffic policy instance, Amazon Route 53 continues to respond to DNS queries for the root resource record set name (such as example.com) while it replaces one group of resource record sets with another. Route 53 performs the following operations:

  1. Route 53 creates a new group of resource record sets based on the specified traffic policy. This is true regardless of how significant the differences are between the existing resource record sets and the new resource record sets.

  2. When all of the new resource record sets have been created, Route 53 starts to respond to DNS queries for the root resource record set name (such as example.com) by using the new resource record sets.

  3. Route 53 deletes the old group of resource record sets that are associated with the root resource record set name.

" }, "shapes": { + "ARN": { + "base": null, + "refs": { + "CidrCollection$Arn": "

The ARN of the collection. Can be used to reference the collection in IAM policy or in another Amazon Web Services account.

", + "CollectionSummary$Arn": "

The ARN of the collection summary. Can be used to reference the collection in IAM policy or cross-account.

" + } + }, "AWSAccountID": { "base": null, "refs": { @@ -156,6 +169,23 @@ "ChangeResourceRecordSetsRequest$ChangeBatch": "

A complex type that contains an optional comment and the Changes element.

" } }, + "ChangeCidrCollectionRequest": { + "base": null, + "refs": { + } + }, + "ChangeCidrCollectionResponse": { + "base": null, + "refs": { + } + }, + "ChangeId": { + "base": null, + "refs": { + "ChangeCidrCollectionResponse$Id": "

The ID that is returned by ChangeCidrCollection. You can use it as input to GetChange to see if a CIDR collection change has propagated or not.

", + "GetChangeRequest$Id": "

The ID of the change batch request. The value that you specify here is the value that ChangeResourceRecordSets returned in the Id element when you submitted the request.

" + } + }, "ChangeInfo": { "base": "

A complex type that describes change information about changes made to your hosted zone.

", "refs": { @@ -218,6 +248,102 @@ "UpdateHealthCheckRequest$ChildHealthChecks": "

A complex type that contains one ChildHealthCheck element for each health check that you want to associate with a CALCULATED health check.

" } }, + "Cidr": { + "base": null, + "refs": { + "CidrBlockSummary$CidrBlock": "

Value for the CIDR block.

", + "CidrList$member": null + } + }, + "CidrBlockInUseException": { + "base": "

This CIDR block is already in use.

", + "refs": { + } + }, + "CidrBlockSummaries": { + "base": null, + "refs": { + "ListCidrBlocksResponse$CidrBlocks": "

A complex type that contains information about the CIDR blocks.

" + } + }, + "CidrBlockSummary": { + "base": "

A complex type that lists the CIDR blocks.

", + "refs": { + "CidrBlockSummaries$member": null + } + }, + "CidrCollection": { + "base": "

A complex type that identifies a CIDR collection.

", + "refs": { + "CreateCidrCollectionResponse$Collection": "

A complex type that contains information about the CIDR collection.

" + } + }, + "CidrCollectionAlreadyExistsException": { + "base": "

A CIDR collection with this name and a different caller reference already exists in this account.

", + "refs": { + } + }, + "CidrCollectionChange": { + "base": "

A complex type that contains information about the CIDR collection change.

", + "refs": { + "CidrCollectionChanges$member": null + } + }, + "CidrCollectionChangeAction": { + "base": null, + "refs": { + "CidrCollectionChange$Action": "

CIDR collection change action.

" + } + }, + "CidrCollectionChanges": { + "base": null, + "refs": { + "ChangeCidrCollectionRequest$Changes": "

Information about changes to a CIDR collection.

" + } + }, + "CidrCollectionInUseException": { + "base": "

This CIDR collection is in use, and isn't empty.

", + "refs": { + } + }, + "CidrCollectionVersionMismatchException": { + "base": "

The CIDR collection version you provided, doesn't match the one in the ListCidrCollections operation.

", + "refs": { + } + }, + "CidrList": { + "base": null, + "refs": { + "CidrCollectionChange$CidrList": "

List of CIDR blocks.

" + } + }, + "CidrLocationNameDefaultAllowed": { + "base": null, + "refs": { + "CidrRoutingConfig$LocationName": "

The CIDR collection location name.

", + "LocationSummary$LocationName": "

A string that specifies a location name.

" + } + }, + "CidrLocationNameDefaultNotAllowed": { + "base": null, + "refs": { + "CidrBlockSummary$LocationName": "

The location name of the CIDR block.

", + "CidrCollectionChange$LocationName": "

Name of the location that is associated with the CIDR collection.

", + "ListCidrBlocksRequest$LocationName": "

The name of the CIDR collection location.

" + } + }, + "CidrNonce": { + "base": null, + "refs": { + "CreateCidrCollectionRequest$CallerReference": "

A client-specific token that allows requests to be securely retried so that the intended outcome will only occur once, retries receive a similar response, and there are no additional edge cases to handle.

" + } + }, + "CidrRoutingConfig": { + "base": "

The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.

A LocationName with an asterisk “*” can be used to create a default CIDR record. CollectionId is still required for default record.

", + "refs": { + "ResourceRecordSet$CidrRoutingConfig": null + } + }, "CloudWatchAlarmConfiguration": { "base": "

A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.

", "refs": { @@ -237,6 +363,34 @@ "AlarmIdentifier$Region": "

For the CloudWatch alarm that you want Route 53 health checkers to use to determine whether this health check is healthy, the region that the alarm was created in.

For the current list of CloudWatch regions, see Amazon CloudWatch endpoints and quotas in the Amazon Web Services General Reference.

" } }, + "CollectionName": { + "base": null, + "refs": { + "CidrCollection$Name": "

The name of a CIDR collection.

", + "CollectionSummary$Name": "

The name of a CIDR collection.

", + "CreateCidrCollectionRequest$Name": "

A unique identifier for the account that can be used to reference the collection from other API calls.

" + } + }, + "CollectionSummaries": { + "base": null, + "refs": { + "ListCidrCollectionsResponse$CidrCollections": "

A complex type with information about the CIDR collection.

" + } + }, + "CollectionSummary": { + "base": "

A complex type that is an entry in an CidrCollection array.

", + "refs": { + "CollectionSummaries$member": null + } + }, + "CollectionVersion": { + "base": null, + "refs": { + "ChangeCidrCollectionRequest$CollectionVersion": "

A sequential counter that Amazon Route 53 sets to 1 when you create a collection and increments it by 1 each time you update the collection.

We recommend that you use ListCidrCollection to get the current value of CollectionVersion for the collection that you want to update, and then include that value with the change request. This prevents Route 53 from overwriting an intervening update:

", + "CidrCollection$Version": "

A sequential counter that Route 53 sets to 1 when you create a CIDR collection and increments by 1 each time you update settings for the CIDR collection.

", + "CollectionSummary$Version": "

A sequential counter that Route 53 sets to 1 when you create a CIDR collection and increments by 1 each time you update settings for the CIDR collection.

" + } + }, "ComparisonOperator": { "base": null, "refs": { @@ -258,6 +412,16 @@ "refs": { } }, + "CreateCidrCollectionRequest": { + "base": null, + "refs": { + } + }, + "CreateCidrCollectionResponse": { + "base": null, + "refs": { + } + }, "CreateHealthCheckRequest": { "base": "

A complex type that contains the health check request information.

", "refs": { @@ -352,7 +516,7 @@ "base": null, "refs": { "AliasTarget$DNSName": "

Alias resource record sets only: The value that you specify depends on where you want to route queries:

Amazon API Gateway custom regional APIs and edge-optimized APIs

Specify the applicable domain name for your API. You can get the applicable value using the CLI command get-domain-names:

  • For regional APIs, specify the value of regionalDomainName.

  • For edge-optimized APIs, specify the value of distributionDomainName. This is the name of the associated CloudFront distribution, such as da1b2c3d4e5.cloudfront.net.

The name of the record that you're creating must match a custom domain name for your API, such as api.example.com.

Amazon Virtual Private Cloud interface VPC endpoint

Enter the API endpoint for the interface endpoint, such as vpce-123456789abcdef01-example-us-east-1a.elasticloadbalancing.us-east-1.vpce.amazonaws.com. For edge-optimized APIs, this is the domain name for the corresponding CloudFront distribution. You can get the value of DnsName using the CLI command describe-vpc-endpoints.

CloudFront distribution

Specify the domain name that CloudFront assigned when you created your distribution.

Your CloudFront distribution must include an alternate domain name that matches the name of the resource record set. For example, if the name of the resource record set is acme.example.com, your CloudFront distribution must include acme.example.com as one of the alternate domain names. For more information, see Using Alternate Domain Names (CNAMEs) in the Amazon CloudFront Developer Guide.

You can't create a resource record set in a private hosted zone to route traffic to a CloudFront distribution.

For failover alias records, you can't specify a CloudFront distribution for both the primary and secondary records. A distribution must include an alternate domain name that matches the name of the record. However, the primary and secondary records have the same name, and you can't include the same alternate domain name in more than one distribution.

Elastic Beanstalk environment

If the domain name for your Elastic Beanstalk environment includes the region that you deployed the environment in, you can create an alias record that routes traffic to the environment. For example, the domain name my-environment.us-west-2.elasticbeanstalk.com is a regionalized domain name.

For environments that were created before early 2016, the domain name doesn't include the region. To route traffic to these environments, you must create a CNAME record instead of an alias record. Note that you can't create a CNAME record for the root domain name. For example, if your domain name is example.com, you can create a record that routes traffic for acme.example.com to your Elastic Beanstalk environment, but you can't create a record that routes traffic for example.com to your Elastic Beanstalk environment.

For Elastic Beanstalk environments that have regionalized subdomains, specify the CNAME attribute for the environment. You can use the following methods to get the value of the CNAME attribute:

  • Amazon Web Services Management Console: For information about how to get the value by using the console, see Using Custom Domains with Elastic Beanstalk in the Elastic Beanstalk Developer Guide.

  • Elastic Beanstalk API: Use the DescribeEnvironments action to get the value of the CNAME attribute. For more information, see DescribeEnvironments in the Elastic Beanstalk API Reference.

  • CLI: Use the describe-environments command to get the value of the CNAME attribute. For more information, see describe-environments in the CLI Command Reference.

ELB load balancer

Specify the DNS name that is associated with the load balancer. Get the DNS name by using the Amazon Web Services Management Console, the ELB API, or the CLI.

  • Amazon Web Services Management Console: Go to the EC2 page, choose Load Balancers in the navigation pane, choose the load balancer, choose the Description tab, and get the value of the DNS name field.

    If you're routing traffic to a Classic Load Balancer, get the value that begins with dualstack. If you're routing traffic to another type of load balancer, get the value that applies to the record type, A or AAAA.

  • Elastic Load Balancing API: Use DescribeLoadBalancers to get the value of DNSName. For more information, see the applicable guide:

  • CLI: Use describe-load-balancers to get the value of DNSName. For more information, see the applicable guide:

Global Accelerator accelerator

Specify the DNS name for your accelerator:

Amazon S3 bucket that is configured as a static website

Specify the domain name of the Amazon S3 website endpoint that you created the bucket in, for example, s3-website.us-east-2.amazonaws.com. For more information about valid values, see the table Amazon S3 Website Endpoints in the Amazon Web Services General Reference. For more information about using S3 buckets for websites, see Getting Started with Amazon Route 53 in the Amazon Route 53 Developer Guide.

Another Route 53 resource record set

Specify the value of the Name element for a resource record set in the current hosted zone.

If you're creating an alias record that has the same name as the hosted zone (known as the zone apex), you can't specify the domain name for a record for which the value of Type is CNAME. This is because the alias record must have the same type as the record that you're routing traffic to, and creating a CNAME record for the zone apex isn't supported even for an alias record.

", - "CreateHostedZoneRequest$Name": "

The name of the domain. Specify a fully qualified domain name, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If your domain name is registered with a registrar other than Route 53, change the name servers for your domain to the set of NameServers that CreateHostedZone returns in DelegationSet.

", + "CreateHostedZoneRequest$Name": "

The name of the domain. Specify a fully qualified domain name, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If your domain name is registered with a registrar other than Route 53, change the name servers for your domain to the set of NameServers that CreateHostedZone returns in DelegationSet.

", "CreateTrafficPolicyInstanceRequest$Name": "

The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Route 53 creates for this traffic policy instance.

", "DelegationSetNameServers$member": null, "HostedZone$Name": "

The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar.

For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see CreateHostedZone.

", @@ -448,6 +612,16 @@ "ListReusableDelegationSetsResponse$DelegationSets": "

A complex type that contains one DelegationSet element for each reusable delegation set that was created by the current Amazon Web Services account.

" } }, + "DeleteCidrCollectionRequest": { + "base": null, + "refs": { + } + }, + "DeleteCidrCollectionResponse": { + "base": null, + "refs": { + } + }, "DeleteHealthCheckRequest": { "base": "

This action deletes a health check.

", "refs": { @@ -600,6 +774,10 @@ "ErrorMessage": { "base": null, "refs": { + "CidrBlockInUseException$Message": null, + "CidrCollectionAlreadyExistsException$Message": null, + "CidrCollectionInUseException$Message": null, + "CidrCollectionVersionMismatchException$Message": null, "ConcurrentModification$message": "

", "ConflictingDomainExists$message": null, "ConflictingTypes$message": "

", @@ -638,6 +816,8 @@ "LastVPCAssociation$message": "

", "LimitsExceeded$message": "

", "NoSuchChange$message": null, + "NoSuchCidrCollectionException$Message": null, + "NoSuchCidrLocationException$Message": null, "NoSuchCloudWatchLogsLogGroup$message": null, "NoSuchDelegationSet$message": "

", "NoSuchGeoLocation$message": "

", @@ -1294,7 +1474,7 @@ } }, "LimitsExceeded": { - "base": "

This operation can't be completed either because the current account has reached the limit on reusable delegation sets that it can create or because you've reached the limit on the number of Amazon VPCs that you can associate with a private hosted zone. To get the current limit on the number of reusable delegation sets, see GetAccountLimit. To get the current limit on the number of Amazon VPCs that you can associate with a private hosted zone, see GetHostedZoneLimit. To request a higher limit, create a case with the Amazon Web Services Support Center.

", + "base": "

This operation can't be completed because the current account has reached the limit on the resource you are trying to create. To request a higher limit, create a case with the Amazon Web Services Support Center.

", "refs": { } }, @@ -1305,6 +1485,36 @@ "HostedZone$LinkedService": "

If the hosted zone was created by another service, the service that created the hosted zone. When a hosted zone is created by another service, you can't edit or delete it using Route 53.

" } }, + "ListCidrBlocksRequest": { + "base": null, + "refs": { + } + }, + "ListCidrBlocksResponse": { + "base": null, + "refs": { + } + }, + "ListCidrCollectionsRequest": { + "base": null, + "refs": { + } + }, + "ListCidrCollectionsResponse": { + "base": null, + "refs": { + } + }, + "ListCidrLocationsRequest": { + "base": null, + "refs": { + } + }, + "ListCidrLocationsResponse": { + "base": null, + "refs": { + } + }, "ListGeoLocationsRequest": { "base": "

A request to get a list of geographic locations that Amazon Route 53 supports for geolocation resource record sets.

", "refs": { @@ -1465,9 +1675,24 @@ "refs": { } }, + "LocationSummaries": { + "base": null, + "refs": { + "ListCidrLocationsResponse$CidrLocations": "

A complex type that contains information about the list of CIDR locations.

" + } + }, + "LocationSummary": { + "base": "

A complex type that contains information about the CIDR location.

", + "refs": { + "LocationSummaries$member": null + } + }, "MaxResults": { "base": null, "refs": { + "ListCidrBlocksRequest$MaxResults": "

Maximum number of results you want returned.

", + "ListCidrCollectionsRequest$MaxResults": "

The maximum number of CIDR collections to return in the response.

", + "ListCidrLocationsRequest$MaxResults": "

The maximum number of CIDR collection locations to return in the response.

", "ListQueryLoggingConfigsRequest$MaxResults": "

(Optional) The maximum number of query logging configurations that you want Amazon Route 53 to return in response to the current request. If the current Amazon Web Services account has more than MaxResults configurations, use the value of NextToken in the response to get the next page of results.

If you don't specify a value for MaxResults, Route 53 returns up to 100 configurations.

", "ListVPCAssociationAuthorizationsRequest$MaxResults": "

Optional: An integer that specifies the maximum number of VPCs that you want Amazon Route 53 to return. If you don't specify a value for MaxResults, Route 53 returns up to 50 VPCs per page.

" } @@ -1507,6 +1732,16 @@ "refs": { } }, + "NoSuchCidrCollectionException": { + "base": "

The CIDR collection you specified, doesn't exist.

", + "refs": { + } + }, + "NoSuchCidrLocationException": { + "base": "

The CIDR collection location doesn't match any locations in your account.

", + "refs": { + } + }, "NoSuchCloudWatchLogsLogGroup": { "base": "

There is no CloudWatch Logs log group with the specified ARN.

", "refs": { @@ -1629,6 +1864,12 @@ "PaginationToken": { "base": null, "refs": { + "ListCidrBlocksRequest$NextToken": "

An opaque pagination token to indicate where the service is to begin enumerating results.

", + "ListCidrBlocksResponse$NextToken": "

An opaque pagination token to indicate where the service is to begin enumerating results.

If no value is provided, the listing of results starts from the beginning.

", + "ListCidrCollectionsRequest$NextToken": "

An opaque pagination token to indicate where the service is to begin enumerating results.

If no value is provided, the listing of results starts from the beginning.

", + "ListCidrCollectionsResponse$NextToken": "

An opaque pagination token to indicate where the service is to begin enumerating results.

If no value is provided, the listing of results starts from the beginning.

", + "ListCidrLocationsRequest$NextToken": "

An opaque pagination token to indicate where the service is to begin enumerating results.

If no value is provided, the listing of results starts from the beginning.

", + "ListCidrLocationsResponse$NextToken": "

An opaque pagination token to indicate where the service is to begin enumerating results.

If no value is provided, the listing of results starts from the beginning.

", "ListHostedZonesByVPCRequest$NextToken": "

If the previous response included a NextToken element, the specified VPC is associated with more hosted zones. To get more hosted zones, submit another ListHostedZonesByVPC request.

For the value of NextToken, specify the value of NextToken from the previous response.

If the previous response didn't include a NextToken element, there are no more hosted zones to get.

", "ListHostedZonesByVPCResponse$NextToken": "

The value that you will use for NextToken in the next ListHostedZonesByVPC request.

", "ListQueryLoggingConfigsRequest$NextToken": "

(Optional) If the current Amazon Web Services account has more than MaxResults query logging configurations, use NextToken to get the second and subsequent pages of results.

For the first ListQueryLoggingConfigs request, omit this value.

For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request.

", @@ -1760,7 +2001,7 @@ "AssociateVPCWithHostedZoneRequest$HostedZoneId": "

The ID of the private hosted zone that you want to associate an Amazon VPC with.

Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association.

", "ChangeInfo$Id": "

This element contains an ID that you use when performing a GetChange action to get detailed information about the change.

", "ChangeResourceRecordSetsRequest$HostedZoneId": "

The ID of the hosted zone that contains the resource record sets that you want to change.

", - "CreateHostedZoneRequest$DelegationSetId": "

If you want to associate a reusable delegation set with this hosted zone, the ID that Amazon Route 53 assigned to the reusable delegation set when you created it. For more information about reusable delegation sets, see CreateReusableDelegationSet.

", + "CreateHostedZoneRequest$DelegationSetId": "

If you want to associate a reusable delegation set with this hosted zone, the ID that Amazon Route 53 assigned to the reusable delegation set when you created it. For more information about reusable delegation sets, see CreateReusableDelegationSet.

", "CreateKeySigningKeyRequest$HostedZoneId": "

The unique string (ID) used to identify a hosted zone.

", "CreateQueryLoggingConfigRequest$HostedZoneId": "

The ID of the hosted zone that you want to log queries for. You can log queries only for public hosted zones.

", "CreateReusableDelegationSetRequest$HostedZoneId": "

If you want to mark the delegation set for an existing hosted zone as reusable, the ID for that hosted zone.

", @@ -1776,7 +2017,6 @@ "DisableHostedZoneDNSSECRequest$HostedZoneId": "

A unique string used to identify a hosted zone.

", "DisassociateVPCFromHostedZoneRequest$HostedZoneId": "

The ID of the private hosted zone that you want to disassociate a VPC from.

", "EnableHostedZoneDNSSECRequest$HostedZoneId": "

A unique string used to identify a hosted zone.

", - "GetChangeRequest$Id": "

The ID of the change batch request. The value that you specify here is the value that ChangeResourceRecordSets returned in the Id element when you submitted the request.

", "GetDNSSECRequest$HostedZoneId": "

A unique string used to identify a hosted zone.

", "GetHostedZoneLimitRequest$HostedZoneId": "

The ID of the hosted zone that you want to get a limit for.

", "GetHostedZoneRequest$Id": "

The ID of the hosted zone that you want to get information about.

", @@ -1883,6 +2123,7 @@ "ResourceURI": { "base": null, "refs": { + "CreateCidrCollectionResponse$Location": "

A unique URL that represents the location for the CIDR collection.

", "CreateHealthCheckResponse$Location": "

The unique URL representing the new health check.

", "CreateHostedZoneResponse$Location": "

The unique URL representing the new hosted zone.

", "CreateKeySigningKeyResponse$Location": "

The unique URL representing the new key-signing key (KSK).

", @@ -2289,6 +2530,18 @@ "TestDNSAnswerResponse$Protocol": "

The protocol that Amazon Route 53 used to respond to the request, either UDP or TCP.

" } }, + "UUID": { + "base": null, + "refs": { + "ChangeCidrCollectionRequest$Id": "

The UUID of the CIDR collection to update.

", + "CidrCollection$Id": "

The unique ID of the CIDR collection.

", + "CidrRoutingConfig$CollectionId": "

The CIDR collection ID.

", + "CollectionSummary$Id": "

Unique ID for the CIDR collection.

", + "DeleteCidrCollectionRequest$Id": "

The UUID of the collection to delete.

", + "ListCidrBlocksRequest$CollectionId": "

The UUID of the CIDR collection.

", + "ListCidrLocationsRequest$CollectionId": "

The CIDR collection ID.

" + } + }, "UpdateHealthCheckRequest": { "base": "

A complex type that contains information about a request to update a health check.

", "refs": { diff --git a/apis/route53/2013-04-01/paginators-1.json b/apis/route53/2013-04-01/paginators-1.json index 418ed85db22..b228a3820d1 100644 --- a/apis/route53/2013-04-01/paginators-1.json +++ b/apis/route53/2013-04-01/paginators-1.json @@ -1,5 +1,23 @@ { "pagination": { + "ListCidrBlocks": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "CidrBlocks" + }, + "ListCidrCollections": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "CidrCollections" + }, + "ListCidrLocations": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "CidrLocations" + }, "ListHealthChecks": { "input_token": "Marker", "limit_key": "MaxItems", diff --git a/gems/aws-sdk-backupgateway/CHANGELOG.md b/gems/aws-sdk-backupgateway/CHANGELOG.md index 93b65657e0a..ff595462f64 100644 --- a/gems/aws-sdk-backupgateway/CHANGELOG.md +++ b/gems/aws-sdk-backupgateway/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.4.0 (2022-06-01) +------------------ + +* Feature - Adds GetGateway and UpdateGatewaySoftwareNow API and adds hypervisor name to UpdateHypervisor API + 1.3.0 (2022-02-24) ------------------ diff --git a/gems/aws-sdk-backupgateway/VERSION b/gems/aws-sdk-backupgateway/VERSION index f0bb29e7638..88c5fb891dc 100644 --- a/gems/aws-sdk-backupgateway/VERSION +++ b/gems/aws-sdk-backupgateway/VERSION @@ -1 +1 @@ -1.3.0 +1.4.0 diff --git a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway.rb b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway.rb index 812c678dcdc..69baaa883ef 100644 --- a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway.rb +++ b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway.rb @@ -48,6 +48,6 @@ # @!group service module Aws::BackupGateway - GEM_VERSION = '1.3.0' + GEM_VERSION = '1.4.0' end diff --git a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/client.rb b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/client.rb index 6ec3e65eee9..29dabcf2b3c 100644 --- a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/client.rb +++ b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/client.rb @@ -532,6 +532,41 @@ def disassociate_gateway_from_server(params = {}, options = {}) req.send_request(options) end + # By providing the ARN (Amazon Resource Name), this API returns the + # gateway. + # + # @option params [required, String] :gateway_arn + # The Amazon Resource Name (ARN) of the gateway. + # + # @return [Types::GetGatewayOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::GetGatewayOutput#gateway #gateway} => Types::GatewayDetails + # + # @example Request syntax with placeholder values + # + # resp = client.get_gateway({ + # gateway_arn: "GatewayArn", # required + # }) + # + # @example Response structure + # + # resp.gateway.gateway_arn #=> String + # resp.gateway.gateway_display_name #=> String + # resp.gateway.gateway_type #=> String, one of "BACKUP_VM" + # resp.gateway.hypervisor_id #=> String + # resp.gateway.last_seen_time #=> Time + # resp.gateway.next_update_availability_time #=> Time + # resp.gateway.vpc_endpoint #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/GetGateway AWS API Documentation + # + # @overload get_gateway(params = {}) + # @param [Hash] params ({}) + def get_gateway(params = {}, options = {}) + req = build_request(:get_gateway, params) + req.send_request(options) + end + # Connect to a hypervisor by importing its configuration. # # @option params [required, String] :host @@ -941,6 +976,41 @@ def update_gateway_information(params = {}, options = {}) req.send_request(options) end + # Updates the gateway virtual machine (VM) software. The request + # immediately triggers the software update. + # + # When you make this request, you get a `200 OK` success response + # immediately. However, it might take some time for the update to + # complete. + # + # + # + # @option params [required, String] :gateway_arn + # The Amazon Resource Name (ARN) of the gateway to be updated. + # + # @return [Types::UpdateGatewaySoftwareNowOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::UpdateGatewaySoftwareNowOutput#gateway_arn #gateway_arn} => String + # + # @example Request syntax with placeholder values + # + # resp = client.update_gateway_software_now({ + # gateway_arn: "GatewayArn", # required + # }) + # + # @example Response structure + # + # resp.gateway_arn #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateGatewaySoftwareNow AWS API Documentation + # + # @overload update_gateway_software_now(params = {}) + # @param [Hash] params ({}) + def update_gateway_software_now(params = {}, options = {}) + req = build_request(:update_gateway_software_now, params) + req.send_request(options) + end + # Updates a hypervisor metadata, including its host, username, and # password. Specify which hypervisor to update using the Amazon Resource # Name (ARN) of the hypervisor in your request. @@ -952,6 +1022,9 @@ def update_gateway_information(params = {}, options = {}) # @option params [required, String] :hypervisor_arn # The Amazon Resource Name (ARN) of the hypervisor to update. # + # @option params [String] :name + # The updated name for the hypervisor + # # @option params [String] :password # The updated password for the hypervisor. # @@ -967,6 +1040,7 @@ def update_gateway_information(params = {}, options = {}) # resp = client.update_hypervisor({ # host: "Host", # hypervisor_arn: "ServerArn", # required + # name: "Name", # password: "Password", # username: "Username", # }) @@ -997,7 +1071,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-backupgateway' - context[:gem_version] = '1.3.0' + context[:gem_version] = '1.4.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/client_api.rb b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/client_api.rb index 9ce5e50a098..6f7cc2a7a45 100644 --- a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/client_api.rb +++ b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/client_api.rb @@ -30,8 +30,11 @@ module ClientApi DisassociateGatewayFromServerOutput = Shapes::StructureShape.new(name: 'DisassociateGatewayFromServerOutput') Gateway = Shapes::StructureShape.new(name: 'Gateway') GatewayArn = Shapes::StringShape.new(name: 'GatewayArn') + GatewayDetails = Shapes::StructureShape.new(name: 'GatewayDetails') GatewayType = Shapes::StringShape.new(name: 'GatewayType') Gateways = Shapes::ListShape.new(name: 'Gateways') + GetGatewayInput = Shapes::StructureShape.new(name: 'GetGatewayInput') + GetGatewayOutput = Shapes::StructureShape.new(name: 'GetGatewayOutput') Host = Shapes::StringShape.new(name: 'Host') HourOfDay = Shapes::IntegerShape.new(name: 'HourOfDay') Hypervisor = Shapes::StructureShape.new(name: 'Hypervisor') @@ -75,12 +78,15 @@ module ClientApi UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput') UpdateGatewayInformationInput = Shapes::StructureShape.new(name: 'UpdateGatewayInformationInput') UpdateGatewayInformationOutput = Shapes::StructureShape.new(name: 'UpdateGatewayInformationOutput') + UpdateGatewaySoftwareNowInput = Shapes::StructureShape.new(name: 'UpdateGatewaySoftwareNowInput') + UpdateGatewaySoftwareNowOutput = Shapes::StructureShape.new(name: 'UpdateGatewaySoftwareNowOutput') UpdateHypervisorInput = Shapes::StructureShape.new(name: 'UpdateHypervisorInput') UpdateHypervisorOutput = Shapes::StructureShape.new(name: 'UpdateHypervisorOutput') Username = Shapes::StringShape.new(name: 'Username') ValidationException = Shapes::StructureShape.new(name: 'ValidationException') VirtualMachine = Shapes::StructureShape.new(name: 'VirtualMachine') VirtualMachines = Shapes::ListShape.new(name: 'VirtualMachines') + VpcEndpoint = Shapes::StringShape.new(name: 'VpcEndpoint') string = Shapes::StringShape.new(name: 'string') AccessDeniedException.add_member(:error_code, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ErrorCode")) @@ -132,8 +138,23 @@ module ClientApi Gateway.add_member(:last_seen_time, Shapes::ShapeRef.new(shape: Time, location_name: "LastSeenTime")) Gateway.struct_class = Types::Gateway + GatewayDetails.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, location_name: "GatewayArn")) + GatewayDetails.add_member(:gateway_display_name, Shapes::ShapeRef.new(shape: Name, location_name: "GatewayDisplayName")) + GatewayDetails.add_member(:gateway_type, Shapes::ShapeRef.new(shape: GatewayType, location_name: "GatewayType")) + GatewayDetails.add_member(:hypervisor_id, Shapes::ShapeRef.new(shape: HypervisorId, location_name: "HypervisorId")) + GatewayDetails.add_member(:last_seen_time, Shapes::ShapeRef.new(shape: Time, location_name: "LastSeenTime")) + GatewayDetails.add_member(:next_update_availability_time, Shapes::ShapeRef.new(shape: Time, location_name: "NextUpdateAvailabilityTime")) + GatewayDetails.add_member(:vpc_endpoint, Shapes::ShapeRef.new(shape: VpcEndpoint, location_name: "VpcEndpoint")) + GatewayDetails.struct_class = Types::GatewayDetails + Gateways.member = Shapes::ShapeRef.new(shape: Gateway) + GetGatewayInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, required: true, location_name: "GatewayArn")) + GetGatewayInput.struct_class = Types::GetGatewayInput + + GetGatewayOutput.add_member(:gateway, Shapes::ShapeRef.new(shape: GatewayDetails, location_name: "Gateway")) + GetGatewayOutput.struct_class = Types::GetGatewayOutput + Hypervisor.add_member(:host, Shapes::ShapeRef.new(shape: Host, location_name: "Host")) Hypervisor.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, location_name: "HypervisorArn")) Hypervisor.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn")) @@ -240,8 +261,15 @@ module ClientApi UpdateGatewayInformationOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, location_name: "GatewayArn")) UpdateGatewayInformationOutput.struct_class = Types::UpdateGatewayInformationOutput + UpdateGatewaySoftwareNowInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, required: true, location_name: "GatewayArn")) + UpdateGatewaySoftwareNowInput.struct_class = Types::UpdateGatewaySoftwareNowInput + + UpdateGatewaySoftwareNowOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, location_name: "GatewayArn")) + UpdateGatewaySoftwareNowOutput.struct_class = Types::UpdateGatewaySoftwareNowOutput + UpdateHypervisorInput.add_member(:host, Shapes::ShapeRef.new(shape: Host, location_name: "Host")) UpdateHypervisorInput.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, required: true, location_name: "HypervisorArn")) + UpdateHypervisorInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name")) UpdateHypervisorInput.add_member(:password, Shapes::ShapeRef.new(shape: Password, location_name: "Password")) UpdateHypervisorInput.add_member(:username, Shapes::ShapeRef.new(shape: Username, location_name: "Username")) UpdateHypervisorInput.struct_class = Types::UpdateHypervisorInput @@ -338,6 +366,17 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) end) + api.add_operation(:get_gateway, Seahorse::Model::Operation.new.tap do |o| + o.name = "GetGateway" + o.http_method = "POST" + o.http_request_uri = "/" + o.input = Shapes::ShapeRef.new(shape: GetGatewayInput) + o.output = Shapes::ShapeRef.new(shape: GetGatewayOutput) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + end) + api.add_operation(:import_hypervisor_configuration, Seahorse::Model::Operation.new.tap do |o| o.name = "ImportHypervisorConfiguration" o.http_method = "POST" @@ -466,6 +505,17 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) end) + api.add_operation(:update_gateway_software_now, Seahorse::Model::Operation.new.tap do |o| + o.name = "UpdateGatewaySoftwareNow" + o.http_method = "POST" + o.http_request_uri = "/" + o.input = Shapes::ShapeRef.new(shape: UpdateGatewaySoftwareNowInput) + o.output = Shapes::ShapeRef.new(shape: UpdateGatewaySoftwareNowOutput) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + end) + api.add_operation(:update_hypervisor, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateHypervisor" o.http_method = "POST" diff --git a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/types.rb b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/types.rb index 43a34dca36d..7f1a25a6310 100644 --- a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/types.rb +++ b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/types.rb @@ -274,6 +274,86 @@ class Gateway < Struct.new( include Aws::Structure end + # The details of gateway. + # + # @!attribute [rw] gateway_arn + # The Amazon Resource Name (ARN) of the gateway. Use the + # `ListGateways` operation to return a list of gateways for your + # account and Amazon Web Services Region. + # @return [String] + # + # @!attribute [rw] gateway_display_name + # The display name of the gateway. + # @return [String] + # + # @!attribute [rw] gateway_type + # The type of the gateway type. + # @return [String] + # + # @!attribute [rw] hypervisor_id + # The hypervisor ID of the gateway. + # @return [String] + # + # @!attribute [rw] last_seen_time + # Details showing the last time Backup gateway communicated with the + # cloud, in Unix format and UTC time. + # @return [Time] + # + # @!attribute [rw] next_update_availability_time + # Details showing the next update availability time of the gateway. + # @return [Time] + # + # @!attribute [rw] vpc_endpoint + # The DNS name for the virtual private cloud (VPC) endpoint the + # gateway uses to connect to the cloud for backup gateway. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/GatewayDetails AWS API Documentation + # + class GatewayDetails < Struct.new( + :gateway_arn, + :gateway_display_name, + :gateway_type, + :hypervisor_id, + :last_seen_time, + :next_update_availability_time, + :vpc_endpoint) + SENSITIVE = [] + include Aws::Structure + end + + # @note When making an API call, you may pass GetGatewayInput + # data as a hash: + # + # { + # gateway_arn: "GatewayArn", # required + # } + # + # @!attribute [rw] gateway_arn + # The Amazon Resource Name (ARN) of the gateway. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/GetGatewayInput AWS API Documentation + # + class GetGatewayInput < Struct.new( + :gateway_arn) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] gateway + # By providing the ARN (Amazon Resource Name), this API returns the + # gateway. + # @return [Types::GatewayDetails] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/GetGatewayOutput AWS API Documentation + # + class GetGatewayOutput < Struct.new( + :gateway) + SENSITIVE = [] + include Aws::Structure + end + # Represents the hypervisor's permissions to which the gateway will # connect. # @@ -678,7 +758,7 @@ class ResourceNotFoundException < Struct.new( # @return [String] # # @!attribute [rw] value - # The key part of a value's key-value pair. + # The value part of a tag's key-value pair. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/Tag AWS API Documentation @@ -851,12 +931,44 @@ class UpdateGatewayInformationOutput < Struct.new( include Aws::Structure end + # @note When making an API call, you may pass UpdateGatewaySoftwareNowInput + # data as a hash: + # + # { + # gateway_arn: "GatewayArn", # required + # } + # + # @!attribute [rw] gateway_arn + # The Amazon Resource Name (ARN) of the gateway to be updated. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateGatewaySoftwareNowInput AWS API Documentation + # + class UpdateGatewaySoftwareNowInput < Struct.new( + :gateway_arn) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] gateway_arn + # The Amazon Resource Name (ARN) of the gateway you updated. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateGatewaySoftwareNowOutput AWS API Documentation + # + class UpdateGatewaySoftwareNowOutput < Struct.new( + :gateway_arn) + SENSITIVE = [] + include Aws::Structure + end + # @note When making an API call, you may pass UpdateHypervisorInput # data as a hash: # # { # host: "Host", # hypervisor_arn: "ServerArn", # required + # name: "Name", # password: "Password", # username: "Username", # } @@ -870,6 +982,10 @@ class UpdateGatewayInformationOutput < Struct.new( # The Amazon Resource Name (ARN) of the hypervisor to update. # @return [String] # + # @!attribute [rw] name + # The updated name for the hypervisor + # @return [String] + # # @!attribute [rw] password # The updated password for the hypervisor. # @return [String] @@ -883,6 +999,7 @@ class UpdateGatewayInformationOutput < Struct.new( class UpdateHypervisorInput < Struct.new( :host, :hypervisor_arn, + :name, :password, :username) SENSITIVE = [:password, :username] @@ -943,7 +1060,8 @@ class ValidationException < Struct.new( # @return [String] # # @!attribute [rw] resource_arn - # The Amazon Resource Name (ARN) of the virtual machine. + # The Amazon Resource Name (ARN) of the virtual machine. For example, + # `arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/VirtualMachine AWS API Documentation diff --git a/gems/aws-sdk-chimesdkmeetings/CHANGELOG.md b/gems/aws-sdk-chimesdkmeetings/CHANGELOG.md index cf74c66b056..4832193c5a0 100644 --- a/gems/aws-sdk-chimesdkmeetings/CHANGELOG.md +++ b/gems/aws-sdk-chimesdkmeetings/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.11.0 (2022-06-01) +------------------ + +* Feature - Adds support for centrally controlling each participant's ability to send and receive audio, video and screen share within a WebRTC session. Attendee capabilities can be specified when the attendee is created and updated during the session with the new BatchUpdateAttendeeCapabilitiesExcept API. + 1.10.0 (2022-04-22) ------------------ diff --git a/gems/aws-sdk-chimesdkmeetings/VERSION b/gems/aws-sdk-chimesdkmeetings/VERSION index 81c871de46b..1cac385c6cb 100644 --- a/gems/aws-sdk-chimesdkmeetings/VERSION +++ b/gems/aws-sdk-chimesdkmeetings/VERSION @@ -1 +1 @@ -1.10.0 +1.11.0 diff --git a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings.rb b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings.rb index 9779fb50811..28384f68b52 100644 --- a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings.rb +++ b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings.rb @@ -48,6 +48,6 @@ # @!group service module Aws::ChimeSDKMeetings - GEM_VERSION = '1.10.0' + GEM_VERSION = '1.11.0' end diff --git a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client.rb b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client.rb index 2086a176306..71037a41efa 100644 --- a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client.rb +++ b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client.rb @@ -378,6 +378,11 @@ def initialize(*args) # attendees: [ # required # { # external_user_id: "ExternalUserId", # required + # capabilities: { + # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # }, # }, # ], # }) @@ -388,6 +393,9 @@ def initialize(*args) # resp.attendees[0].external_user_id #=> String # resp.attendees[0].attendee_id #=> String # resp.attendees[0].join_token #=> String + # resp.attendees[0].capabilities.audio #=> String, one of "SendReceive", "Send", "Receive", "None" + # resp.attendees[0].capabilities.video #=> String, one of "SendReceive", "Send", "Receive", "None" + # resp.attendees[0].capabilities.content #=> String, one of "SendReceive", "Send", "Receive", "None" # resp.errors #=> Array # resp.errors[0].external_user_id #=> String # resp.errors[0].error_code #=> String @@ -402,6 +410,47 @@ def batch_create_attendee(params = {}, options = {}) req.send_request(options) end + # Updates `AttendeeCapabilities` except the capabilities listed in an + # `ExcludedAttendeeIds` table. + # + # @option params [required, String] :meeting_id + # The ID of the meeting associated with the update request. + # + # @option params [required, Array] :excluded_attendee_ids + # The `AttendeeIDs` that you want to exclude from one or more + # capabilities. + # + # @option params [required, Types::AttendeeCapabilities] :capabilities + # The capabilities (`audio`, `video`, or `content`) that you want to + # update. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.batch_update_attendee_capabilities_except({ + # meeting_id: "GuidString", # required + # excluded_attendee_ids: [ # required + # { + # attendee_id: "GuidString", # required + # }, + # ], + # capabilities: { # required + # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # }, + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/BatchUpdateAttendeeCapabilitiesExcept AWS API Documentation + # + # @overload batch_update_attendee_capabilities_except(params = {}) + # @param [Hash] params ({}) + def batch_update_attendee_capabilities_except(params = {}, options = {}) + req = build_request(:batch_update_attendee_capabilities_except, params) + req.send_request(options) + end + # 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][1] in the *Amazon Chime Developer Guide*. @@ -417,6 +466,11 @@ def batch_create_attendee(params = {}, options = {}) # The Amazon Chime SDK external user ID. An idempotency token. Links the # attendee to an identity managed by a builder application. # + # @option params [Types::AttendeeCapabilities] :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. + # # @return [Types::CreateAttendeeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateAttendeeResponse#attendee #attendee} => Types::Attendee @@ -426,6 +480,11 @@ def batch_create_attendee(params = {}, options = {}) # resp = client.create_attendee({ # meeting_id: "GuidString", # required # external_user_id: "ExternalUserId", # required + # capabilities: { + # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # }, # }) # # @example Response structure @@ -433,6 +492,9 @@ def batch_create_attendee(params = {}, options = {}) # resp.attendee.external_user_id #=> String # resp.attendee.attendee_id #=> String # resp.attendee.join_token #=> String + # resp.attendee.capabilities.audio #=> String, one of "SendReceive", "Send", "Receive", "None" + # resp.attendee.capabilities.video #=> String, one of "SendReceive", "Send", "Receive", "None" + # resp.attendee.capabilities.content #=> String, one of "SendReceive", "Send", "Receive", "None" # # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/CreateAttendee AWS API Documentation # @@ -618,6 +680,11 @@ def create_meeting(params = {}, options = {}) # attendees: [ # required # { # external_user_id: "ExternalUserId", # required + # capabilities: { + # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # }, # }, # ], # primary_meeting_id: "PrimaryMeetingId", @@ -643,6 +710,9 @@ def create_meeting(params = {}, options = {}) # resp.attendees[0].external_user_id #=> String # resp.attendees[0].attendee_id #=> String # resp.attendees[0].join_token #=> String + # resp.attendees[0].capabilities.audio #=> String, one of "SendReceive", "Send", "Receive", "None" + # resp.attendees[0].capabilities.video #=> String, one of "SendReceive", "Send", "Receive", "None" + # resp.attendees[0].capabilities.content #=> String, one of "SendReceive", "Send", "Receive", "None" # resp.errors #=> Array # resp.errors[0].external_user_id #=> String # resp.errors[0].error_code #=> String @@ -751,6 +821,9 @@ def delete_meeting(params = {}, options = {}) # resp.attendee.external_user_id #=> String # resp.attendee.attendee_id #=> String # resp.attendee.join_token #=> String + # resp.attendee.capabilities.audio #=> String, one of "SendReceive", "Send", "Receive", "None" + # resp.attendee.capabilities.video #=> String, one of "SendReceive", "Send", "Receive", "None" + # resp.attendee.capabilities.content #=> String, one of "SendReceive", "Send", "Receive", "None" # # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/GetAttendee AWS API Documentation # @@ -846,6 +919,9 @@ def get_meeting(params = {}, options = {}) # resp.attendees[0].external_user_id #=> String # resp.attendees[0].attendee_id #=> String # resp.attendees[0].join_token #=> String + # resp.attendees[0].capabilities.audio #=> String, one of "SendReceive", "Send", "Receive", "None" + # resp.attendees[0].capabilities.video #=> String, one of "SendReceive", "Send", "Receive", "None" + # resp.attendees[0].capabilities.content #=> String, one of "SendReceive", "Send", "Receive", "None" # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/ListAttendees AWS API Documentation @@ -932,6 +1008,51 @@ def stop_meeting_transcription(params = {}, options = {}) req.send_request(options) end + # The capabilties that you want to update. + # + # @option params [required, String] :meeting_id + # The ID of the meeting associated with the update request. + # + # @option params [required, String] :attendee_id + # The ID of the attendee associated with the update request. + # + # @option params [required, Types::AttendeeCapabilities] :capabilities + # The capabilties that you want to update. + # + # @return [Types::UpdateAttendeeCapabilitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::UpdateAttendeeCapabilitiesResponse#attendee #attendee} => Types::Attendee + # + # @example Request syntax with placeholder values + # + # resp = client.update_attendee_capabilities({ + # meeting_id: "GuidString", # required + # attendee_id: "GuidString", # required + # capabilities: { # required + # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # }, + # }) + # + # @example Response structure + # + # resp.attendee.external_user_id #=> String + # resp.attendee.attendee_id #=> String + # resp.attendee.join_token #=> String + # resp.attendee.capabilities.audio #=> String, one of "SendReceive", "Send", "Receive", "None" + # resp.attendee.capabilities.video #=> String, one of "SendReceive", "Send", "Receive", "None" + # resp.attendee.capabilities.content #=> String, one of "SendReceive", "Send", "Receive", "None" + # + # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/UpdateAttendeeCapabilities AWS API Documentation + # + # @overload update_attendee_capabilities(params = {}) + # @param [Hash] params ({}) + def update_attendee_capabilities(params = {}, options = {}) + req = build_request(:update_attendee_capabilities, params) + req.send_request(options) + end + # @!endgroup # @param params ({}) @@ -945,7 +1066,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-chimesdkmeetings' - context[:gem_version] = '1.10.0' + context[:gem_version] = '1.11.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client_api.rb b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client_api.rb index 50be21a0daa..5c93e76e461 100644 --- a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client_api.rb +++ b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client_api.rb @@ -15,14 +15,19 @@ module ClientApi Arn = Shapes::StringShape.new(name: 'Arn') Attendee = Shapes::StructureShape.new(name: 'Attendee') + AttendeeCapabilities = Shapes::StructureShape.new(name: 'AttendeeCapabilities') + AttendeeIdItem = Shapes::StructureShape.new(name: 'AttendeeIdItem') + AttendeeIdsList = Shapes::ListShape.new(name: 'AttendeeIdsList') AttendeeList = Shapes::ListShape.new(name: 'AttendeeList') AudioFeatures = Shapes::StructureShape.new(name: 'AudioFeatures') BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException') BatchCreateAttendeeErrorList = Shapes::ListShape.new(name: 'BatchCreateAttendeeErrorList') BatchCreateAttendeeRequest = Shapes::StructureShape.new(name: 'BatchCreateAttendeeRequest') BatchCreateAttendeeResponse = Shapes::StructureShape.new(name: 'BatchCreateAttendeeResponse') + BatchUpdateAttendeeCapabilitiesExceptRequest = Shapes::StructureShape.new(name: 'BatchUpdateAttendeeCapabilitiesExceptRequest') Boolean = Shapes::BooleanShape.new(name: 'Boolean') ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken') + ConflictException = Shapes::StructureShape.new(name: 'ConflictException') CreateAttendeeError = Shapes::StructureShape.new(name: 'CreateAttendeeError') CreateAttendeeRequest = Shapes::StructureShape.new(name: 'CreateAttendeeRequest') CreateAttendeeRequestItem = Shapes::StructureShape.new(name: 'CreateAttendeeRequestItem') @@ -49,6 +54,7 @@ module ClientApi LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException') ListAttendeesRequest = Shapes::StructureShape.new(name: 'ListAttendeesRequest') ListAttendeesResponse = Shapes::StructureShape.new(name: 'ListAttendeesResponse') + MediaCapabilities = Shapes::StringShape.new(name: 'MediaCapabilities') MediaPlacement = Shapes::StructureShape.new(name: 'MediaPlacement') MediaRegion = Shapes::StringShape.new(name: 'MediaRegion') Meeting = Shapes::StructureShape.new(name: 'Meeting') @@ -82,12 +88,25 @@ module ClientApi TranscriptionConfiguration = Shapes::StructureShape.new(name: 'TranscriptionConfiguration') UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException') UnprocessableEntityException = Shapes::StructureShape.new(name: 'UnprocessableEntityException') + UpdateAttendeeCapabilitiesRequest = Shapes::StructureShape.new(name: 'UpdateAttendeeCapabilitiesRequest') + UpdateAttendeeCapabilitiesResponse = Shapes::StructureShape.new(name: 'UpdateAttendeeCapabilitiesResponse') Attendee.add_member(:external_user_id, Shapes::ShapeRef.new(shape: ExternalUserId, location_name: "ExternalUserId")) Attendee.add_member(:attendee_id, Shapes::ShapeRef.new(shape: GuidString, location_name: "AttendeeId")) Attendee.add_member(:join_token, Shapes::ShapeRef.new(shape: JoinTokenString, location_name: "JoinToken")) + Attendee.add_member(:capabilities, Shapes::ShapeRef.new(shape: AttendeeCapabilities, location_name: "Capabilities")) Attendee.struct_class = Types::Attendee + AttendeeCapabilities.add_member(:audio, Shapes::ShapeRef.new(shape: MediaCapabilities, required: true, location_name: "Audio")) + AttendeeCapabilities.add_member(:video, Shapes::ShapeRef.new(shape: MediaCapabilities, required: true, location_name: "Video")) + AttendeeCapabilities.add_member(:content, Shapes::ShapeRef.new(shape: MediaCapabilities, required: true, location_name: "Content")) + AttendeeCapabilities.struct_class = Types::AttendeeCapabilities + + AttendeeIdItem.add_member(:attendee_id, Shapes::ShapeRef.new(shape: GuidString, required: true, location_name: "AttendeeId")) + AttendeeIdItem.struct_class = Types::AttendeeIdItem + + AttendeeIdsList.member = Shapes::ShapeRef.new(shape: AttendeeIdItem) + AttendeeList.member = Shapes::ShapeRef.new(shape: Attendee) AudioFeatures.add_member(:echo_reduction, Shapes::ShapeRef.new(shape: MeetingFeatureStatus, location_name: "EchoReduction")) @@ -108,6 +127,16 @@ module ClientApi BatchCreateAttendeeResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchCreateAttendeeErrorList, location_name: "Errors")) BatchCreateAttendeeResponse.struct_class = Types::BatchCreateAttendeeResponse + BatchUpdateAttendeeCapabilitiesExceptRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: GuidString, required: true, location: "uri", location_name: "MeetingId")) + BatchUpdateAttendeeCapabilitiesExceptRequest.add_member(:excluded_attendee_ids, Shapes::ShapeRef.new(shape: AttendeeIdsList, required: true, location_name: "ExcludedAttendeeIds")) + BatchUpdateAttendeeCapabilitiesExceptRequest.add_member(:capabilities, Shapes::ShapeRef.new(shape: AttendeeCapabilities, required: true, location_name: "Capabilities")) + BatchUpdateAttendeeCapabilitiesExceptRequest.struct_class = Types::BatchUpdateAttendeeCapabilitiesExceptRequest + + ConflictException.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "Code")) + ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message")) + ConflictException.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId")) + ConflictException.struct_class = Types::ConflictException + CreateAttendeeError.add_member(:external_user_id, Shapes::ShapeRef.new(shape: ExternalUserId, location_name: "ExternalUserId")) CreateAttendeeError.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode")) CreateAttendeeError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage")) @@ -115,9 +144,11 @@ module ClientApi CreateAttendeeRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: GuidString, required: true, location: "uri", location_name: "MeetingId")) CreateAttendeeRequest.add_member(:external_user_id, Shapes::ShapeRef.new(shape: ExternalUserId, required: true, location_name: "ExternalUserId")) + CreateAttendeeRequest.add_member(:capabilities, Shapes::ShapeRef.new(shape: AttendeeCapabilities, location_name: "Capabilities")) CreateAttendeeRequest.struct_class = Types::CreateAttendeeRequest CreateAttendeeRequestItem.add_member(:external_user_id, Shapes::ShapeRef.new(shape: ExternalUserId, required: true, location_name: "ExternalUserId")) + CreateAttendeeRequestItem.add_member(:capabilities, Shapes::ShapeRef.new(shape: AttendeeCapabilities, location_name: "Capabilities")) CreateAttendeeRequestItem.struct_class = Types::CreateAttendeeRequestItem CreateAttendeeRequestItemList.member = Shapes::ShapeRef.new(shape: CreateAttendeeRequestItem) @@ -286,6 +317,14 @@ module ClientApi UnprocessableEntityException.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId")) UnprocessableEntityException.struct_class = Types::UnprocessableEntityException + UpdateAttendeeCapabilitiesRequest.add_member(:meeting_id, Shapes::ShapeRef.new(shape: GuidString, required: true, location: "uri", location_name: "MeetingId")) + UpdateAttendeeCapabilitiesRequest.add_member(:attendee_id, Shapes::ShapeRef.new(shape: GuidString, required: true, location: "uri", location_name: "AttendeeId")) + UpdateAttendeeCapabilitiesRequest.add_member(:capabilities, Shapes::ShapeRef.new(shape: AttendeeCapabilities, required: true, location_name: "Capabilities")) + UpdateAttendeeCapabilitiesRequest.struct_class = Types::UpdateAttendeeCapabilitiesRequest + + UpdateAttendeeCapabilitiesResponse.add_member(:attendee, Shapes::ShapeRef.new(shape: Attendee, location_name: "Attendee")) + UpdateAttendeeCapabilitiesResponse.struct_class = Types::UpdateAttendeeCapabilitiesResponse + # @api private API = Seahorse::Model::Api.new.tap do |api| @@ -320,6 +359,20 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) end) + api.add_operation(:batch_update_attendee_capabilities_except, Seahorse::Model::Operation.new.tap do |o| + o.name = "BatchUpdateAttendeeCapabilitiesExcept" + o.http_method = "PUT" + o.http_request_uri = "/meetings/{MeetingId}/attendees/capabilities?operation=batch-update-except" + o.input = Shapes::ShapeRef.new(shape: BatchUpdateAttendeeCapabilitiesExceptRequest) + o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) + o.errors << Shapes::ShapeRef.new(shape: BadRequestException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) + o.errors << Shapes::ShapeRef.new(shape: NotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) + o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) + end) + api.add_operation(:create_attendee, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateAttendee" o.http_method = "POST" @@ -480,6 +533,20 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException) end) + + api.add_operation(:update_attendee_capabilities, Seahorse::Model::Operation.new.tap do |o| + o.name = "UpdateAttendeeCapabilities" + o.http_method = "PUT" + o.http_request_uri = "/meetings/{MeetingId}/attendees/{AttendeeId}/capabilities" + o.input = Shapes::ShapeRef.new(shape: UpdateAttendeeCapabilitiesRequest) + o.output = Shapes::ShapeRef.new(shape: UpdateAttendeeCapabilitiesResponse) + o.errors << Shapes::ShapeRef.new(shape: BadRequestException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException) + o.errors << Shapes::ShapeRef.new(shape: NotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) + o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException) + end) end end diff --git a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/errors.rb b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/errors.rb index a4e2bf9197b..c634ef5603c 100644 --- a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/errors.rb +++ b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/errors.rb @@ -28,6 +28,7 @@ module Aws::ChimeSDKMeetings # # ## Error Classes # * {BadRequestException} + # * {ConflictException} # * {ForbiddenException} # * {LimitExceededException} # * {NotFoundException} @@ -68,6 +69,31 @@ def request_id end end + class ConflictException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::ChimeSDKMeetings::Types::ConflictException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def code + @code || @data[:code] + end + + # @return [String] + def message + @message || @data[:message] + end + + # @return [String] + def request_id + @data[:request_id] + end + end + class ForbiddenException < ServiceError # @param [Seahorse::Client::RequestContext] context diff --git a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/types.rb b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/types.rb index c6ef4c0bc2c..83ef94a9656 100644 --- a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/types.rb +++ b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/types.rb @@ -33,16 +33,76 @@ module Types # The join token used by the Amazon Chime SDK attendee. # @return [String] # + # @!attribute [rw] capabilities + # The capabilities (audio, video, or content) assigned to an attendee. + # @return [Types::AttendeeCapabilities] + # # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/Attendee AWS API Documentation # class Attendee < Struct.new( :external_user_id, :attendee_id, - :join_token) + :join_token, + :capabilities) SENSITIVE = [:external_user_id, :join_token] include Aws::Structure end + # The media capabilities of an attendee, including audio, video and + # content. + # + # @note When making an API call, you may pass AttendeeCapabilities + # data as a hash: + # + # { + # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # } + # + # @!attribute [rw] audio + # The audio capability assigned to an attendee. + # @return [String] + # + # @!attribute [rw] video + # The video capability assigned to an attendee. + # @return [String] + # + # @!attribute [rw] content + # The content capability assigned to an attendee. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/AttendeeCapabilities AWS API Documentation + # + class AttendeeCapabilities < Struct.new( + :audio, + :video, + :content) + SENSITIVE = [] + include Aws::Structure + end + + # A structure that contains one or more attendee IDs. + # + # @note When making an API call, you may pass AttendeeIdItem + # data as a hash: + # + # { + # attendee_id: "GuidString", # required + # } + # + # @!attribute [rw] attendee_id + # A list of one or more attendee IDs. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/AttendeeIdItem AWS API Documentation + # + class AttendeeIdItem < Struct.new( + :attendee_id) + SENSITIVE = [] + include Aws::Structure + end + # An optional category of meeting features that contains audio-specific # configurations, such as operating parameters for Amazon Voice Focus. # @@ -97,6 +157,11 @@ class BadRequestException < Struct.new( # attendees: [ # required # { # external_user_id: "ExternalUserId", # required + # capabilities: { + # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # }, # }, # ], # } @@ -138,6 +203,68 @@ class BatchCreateAttendeeResponse < Struct.new( include Aws::Structure end + # @note When making an API call, you may pass BatchUpdateAttendeeCapabilitiesExceptRequest + # data as a hash: + # + # { + # meeting_id: "GuidString", # required + # excluded_attendee_ids: [ # required + # { + # attendee_id: "GuidString", # required + # }, + # ], + # capabilities: { # required + # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # }, + # } + # + # @!attribute [rw] meeting_id + # The ID of the meeting associated with the update request. + # @return [String] + # + # @!attribute [rw] excluded_attendee_ids + # The `AttendeeIDs` that you want to exclude from one or more + # capabilities. + # @return [Array] + # + # @!attribute [rw] capabilities + # The capabilities (`audio`, `video`, or `content`) that you want to + # update. + # @return [Types::AttendeeCapabilities] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/BatchUpdateAttendeeCapabilitiesExceptRequest AWS API Documentation + # + class BatchUpdateAttendeeCapabilitiesExceptRequest < Struct.new( + :meeting_id, + :excluded_attendee_ids, + :capabilities) + SENSITIVE = [] + include Aws::Structure + end + + # Multiple instances of the same request have been made simultaneously. + # + # @!attribute [rw] code + # @return [String] + # + # @!attribute [rw] message + # @return [String] + # + # @!attribute [rw] request_id + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/ConflictException AWS API Documentation + # + class ConflictException < Struct.new( + :code, + :message, + :request_id) + SENSITIVE = [] + include Aws::Structure + end + # 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. @@ -171,6 +298,11 @@ class CreateAttendeeError < Struct.new( # { # meeting_id: "GuidString", # required # external_user_id: "ExternalUserId", # required + # capabilities: { + # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # }, # } # # @!attribute [rw] meeting_id @@ -182,11 +314,18 @@ class CreateAttendeeError < Struct.new( # the attendee to an identity managed by a builder application. # @return [String] # + # @!attribute [rw] 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. + # @return [Types::AttendeeCapabilities] + # # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/CreateAttendeeRequest AWS API Documentation # class CreateAttendeeRequest < Struct.new( :meeting_id, - :external_user_id) + :external_user_id, + :capabilities) SENSITIVE = [:external_user_id] include Aws::Structure end @@ -199,6 +338,11 @@ class CreateAttendeeRequest < Struct.new( # # { # external_user_id: "ExternalUserId", # required + # capabilities: { + # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # }, # } # # @!attribute [rw] external_user_id @@ -206,10 +350,15 @@ class CreateAttendeeRequest < Struct.new( # the attendee to an identity managed by a builder application. # @return [String] # + # @!attribute [rw] capabilities + # A list of one or more capabilities. + # @return [Types::AttendeeCapabilities] + # # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/CreateAttendeeRequestItem AWS API Documentation # class CreateAttendeeRequestItem < Struct.new( - :external_user_id) + :external_user_id, + :capabilities) SENSITIVE = [:external_user_id] include Aws::Structure end @@ -339,6 +488,11 @@ class CreateMeetingResponse < Struct.new( # attendees: [ # required # { # external_user_id: "ExternalUserId", # required + # capabilities: { + # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # }, # }, # ], # primary_meeting_id: "PrimaryMeetingId", @@ -950,7 +1104,7 @@ class MeetingFeaturesConfiguration < Struct.new( # @return [String] # # @!attribute [rw] request_id - # The request id associated with the call responsible for the + # The request ID associated with the call responsible for the # exception. # @return [String] # @@ -999,7 +1153,7 @@ class NotificationsConfiguration < Struct.new( include Aws::Structure end - # The service encountered an unexpected error. + # The service is currently unavailable. # # @!attribute [rw] code # @return [String] @@ -1119,7 +1273,7 @@ class StopMeetingTranscriptionRequest < Struct.new( include Aws::Structure end - # The number of customer requests exceeds the request rate limit. + # The number of requests exceeds the limit. # # @!attribute [rw] code # @return [String] @@ -1240,5 +1394,60 @@ class UnprocessableEntityException < Struct.new( include Aws::Structure end + # @note When making an API call, you may pass UpdateAttendeeCapabilitiesRequest + # data as a hash: + # + # { + # meeting_id: "GuidString", # required + # attendee_id: "GuidString", # required + # capabilities: { # required + # audio: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # video: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # content: "SendReceive", # required, accepts SendReceive, Send, Receive, None + # }, + # } + # + # @!attribute [rw] meeting_id + # The ID of the meeting associated with the update request. + # @return [String] + # + # @!attribute [rw] attendee_id + # The ID of the attendee associated with the update request. + # @return [String] + # + # @!attribute [rw] capabilities + # The capabilties that you want to update. + # @return [Types::AttendeeCapabilities] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/UpdateAttendeeCapabilitiesRequest AWS API Documentation + # + class UpdateAttendeeCapabilitiesRequest < Struct.new( + :meeting_id, + :attendee_id, + :capabilities) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] attendee + # An Amazon Chime SDK meeting attendee. Includes a unique `AttendeeId` + # and `JoinToken`. The `JoinToken` allows a client to authenticate and + # join as the specified attendee. The `JoinToken` expires when the + # meeting ends, or when DeleteAttendee is called. After that, the + # attendee is unable to join the meeting. + # + # We recommend securely transferring each `JoinToken` from your server + # application to the client so that no other client has access to the + # token except for the one authorized to represent the attendee. + # @return [Types::Attendee] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/UpdateAttendeeCapabilitiesResponse AWS API Documentation + # + class UpdateAttendeeCapabilitiesResponse < Struct.new( + :attendee) + SENSITIVE = [] + include Aws::Structure + end + end end diff --git a/gems/aws-sdk-forecastservice/CHANGELOG.md b/gems/aws-sdk-forecastservice/CHANGELOG.md index fa06b38eb2b..f7d53a8ef1f 100644 --- a/gems/aws-sdk-forecastservice/CHANGELOG.md +++ b/gems/aws-sdk-forecastservice/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.36.0 (2022-06-01) +------------------ + +* Feature - Added Format field to Import and Export APIs in Amazon Forecast. Added TimeSeriesSelector to Create Forecast API. + 1.35.0 (2022-05-26) ------------------ diff --git a/gems/aws-sdk-forecastservice/VERSION b/gems/aws-sdk-forecastservice/VERSION index 2aeaa11ee27..39fc130ef85 100644 --- a/gems/aws-sdk-forecastservice/VERSION +++ b/gems/aws-sdk-forecastservice/VERSION @@ -1 +1 @@ -1.35.0 +1.36.0 diff --git a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice.rb b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice.rb index 27dddfb431a..f6f62495081 100644 --- a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice.rb +++ b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice.rb @@ -48,6 +48,6 @@ # @!group service module Aws::ForecastService - GEM_VERSION = '1.35.0' + GEM_VERSION = '1.36.0' end diff --git a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/client.rb b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/client.rb index b686aba92d5..faea8437f0b 100644 --- a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/client.rb +++ b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/client.rb @@ -878,11 +878,11 @@ def create_dataset_group(params = {}, options = {}) # data and processes it in an internal AWS system. For more information, # see [Set up permissions][2]. # - # The training data must be in CSV format. The delimiter must be a comma - # (,). + # The training data must be in CSV or Parquet format. The delimiter must + # be a comma (,). # - # You can specify the path to a specific CSV file, the S3 bucket, or to - # a folder in the S3 bucket. For the latter two cases, Amazon Forecast + # You can specify the path to a specific file, the S3 bucket, or to a + # folder in the S3 bucket. For the latter two cases, Amazon Forecast # imports all files up to the limit of 10,000 files. # # Because dataset imports are not aggregated, your most recent dataset @@ -1002,6 +1002,10 @@ def create_dataset_group(params = {}, options = {}) # the limit of 50 tags. Tags with only the key prefix of `aws` do not # count against your tags per resource limit. # + # @option params [String] :format + # The format of the imported data, CSV or PARQUET. The default value is + # CSV. + # # @return [Types::CreateDatasetImportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateDatasetImportJobResponse#dataset_import_job_arn #dataset_import_job_arn} => String @@ -1028,6 +1032,7 @@ def create_dataset_group(params = {}, options = {}) # value: "TagValue", # required # }, # ], + # format: "Format", # }) # # @example Response structure @@ -1297,6 +1302,9 @@ def create_explainability(params = {}, options = {}) # only the key prefix of `aws` do not count against your tags per # resource limit. You cannot edit or delete tag keys with this prefix. # + # @option params [String] :format + # The format of the exported data, CSV or PARQUET. + # # @return [Types::CreateExplainabilityExportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateExplainabilityExportResponse#explainability_export_arn #explainability_export_arn} => String @@ -1319,6 +1327,7 @@ def create_explainability(params = {}, options = {}) # value: "TagValue", # required # }, # ], + # format: "Format", # }) # # @example Response structure @@ -1361,6 +1370,14 @@ def create_explainability_export(params = {}, options = {}) # # # + # By default, a forecast includes predictions for every item (`item_id`) + # in the dataset group that was used to train the predictor. However, + # you can use the `TimeSeriesSelector` object to generate a forecast on + # a subset of time series. Forecast creation is skipped for any time + # series that you specify that are not in the input dataset. The + # forecast export file will not contain these time series or their + # forecasted values. + # # @option params [required, String] :forecast_name # A name for the forecast. # @@ -1412,6 +1429,18 @@ def create_explainability_export(params = {}, options = {}) # the limit of 50 tags. Tags with only the key prefix of `aws` do not # count against your tags per resource limit. # + # @option params [Types::TimeSeriesSelector] :time_series_selector + # Defines the set of time series that are used to create the forecasts + # in a `TimeSeriesIdentifiers` object. + # + # The `TimeSeriesIdentifiers` object needs the following information: + # + # * `DataSource` + # + # * `Format` + # + # * `Schema` + # # @return [Types::CreateForecastResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateForecastResponse#forecast_arn #forecast_arn} => String @@ -1428,6 +1457,26 @@ def create_explainability_export(params = {}, options = {}) # value: "TagValue", # required # }, # ], + # time_series_selector: { + # time_series_identifiers: { + # data_source: { + # s3_config: { # required + # path: "S3Path", # required + # role_arn: "Arn", # required + # kms_key_arn: "KMSKeyArn", + # }, + # }, + # schema: { + # attributes: [ + # { + # attribute_name: "Name", + # attribute_type: "string", # accepts string, integer, float, timestamp, geolocation + # }, + # ], + # }, + # format: "Format", + # }, + # }, # }) # # @example Response structure @@ -1517,6 +1566,10 @@ def create_forecast(params = {}, options = {}) # the limit of 50 tags. Tags with only the key prefix of `aws` do not # count against your tags per resource limit. # + # @option params [String] :format + # The format of the exported data, CSV or PARQUET. The default value is + # CSV. + # # @return [Types::CreateForecastExportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateForecastExportJobResponse#forecast_export_job_arn #forecast_export_job_arn} => String @@ -1539,6 +1592,7 @@ def create_forecast(params = {}, options = {}) # value: "TagValue", # required # }, # ], + # format: "Format", # }) # # @example Response structure @@ -1925,7 +1979,8 @@ def create_predictor(params = {}, options = {}) # Exports backtest forecasts and accuracy metrics generated by the # CreateAutoPredictor or CreatePredictor operations. Two folders - # containing CSV files are exported to your specified S3 bucket. + # containing CSV or Parquet files are exported to your specified S3 + # bucket. # # The export file names will match the following conventions: # @@ -1985,6 +2040,10 @@ def create_predictor(params = {}, options = {}) # only the key prefix of `aws` do not count against your tags per # resource limit. You cannot edit or delete tag keys with this prefix. # + # @option params [String] :format + # The format of the exported data, CSV or PARQUET. The default value is + # CSV. + # # @return [Types::CreatePredictorBacktestExportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreatePredictorBacktestExportJobResponse#predictor_backtest_export_job_arn #predictor_backtest_export_job_arn} => String @@ -2007,6 +2066,7 @@ def create_predictor(params = {}, options = {}) # value: "TagValue", # required # }, # ], + # format: "Format", # }) # # @example Response structure @@ -2591,6 +2651,7 @@ def describe_dataset_group(params = {}, options = {}) # * {Types::DescribeDatasetImportJobResponse#message #message} => String # * {Types::DescribeDatasetImportJobResponse#creation_time #creation_time} => Time # * {Types::DescribeDatasetImportJobResponse#last_modification_time #last_modification_time} => Time + # * {Types::DescribeDatasetImportJobResponse#format #format} => String # # @example Request syntax with placeholder values # @@ -2629,6 +2690,7 @@ def describe_dataset_group(params = {}, options = {}) # resp.message #=> String # resp.creation_time #=> Time # resp.last_modification_time #=> Time + # resp.format #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeDatasetImportJob AWS API Documentation # @@ -2715,6 +2777,7 @@ def describe_explainability(params = {}, options = {}) # * {Types::DescribeExplainabilityExportResponse#status #status} => String # * {Types::DescribeExplainabilityExportResponse#creation_time #creation_time} => Time # * {Types::DescribeExplainabilityExportResponse#last_modification_time #last_modification_time} => Time + # * {Types::DescribeExplainabilityExportResponse#format #format} => String # # @example Request syntax with placeholder values # @@ -2734,6 +2797,7 @@ def describe_explainability(params = {}, options = {}) # resp.status #=> String # resp.creation_time #=> Time # resp.last_modification_time #=> Time + # resp.format #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeExplainabilityExport AWS API Documentation # @@ -2775,6 +2839,7 @@ def describe_explainability_export(params = {}, options = {}) # * {Types::DescribeForecastResponse#message #message} => String # * {Types::DescribeForecastResponse#creation_time #creation_time} => Time # * {Types::DescribeForecastResponse#last_modification_time #last_modification_time} => Time + # * {Types::DescribeForecastResponse#time_series_selector #time_series_selector} => Types::TimeSeriesSelector # # @example Request syntax with placeholder values # @@ -2795,6 +2860,13 @@ def describe_explainability_export(params = {}, options = {}) # resp.message #=> String # resp.creation_time #=> Time # resp.last_modification_time #=> Time + # resp.time_series_selector.time_series_identifiers.data_source.s3_config.path #=> String + # resp.time_series_selector.time_series_identifiers.data_source.s3_config.role_arn #=> String + # resp.time_series_selector.time_series_identifiers.data_source.s3_config.kms_key_arn #=> String + # resp.time_series_selector.time_series_identifiers.schema.attributes #=> Array + # resp.time_series_selector.time_series_identifiers.schema.attributes[0].attribute_name #=> String + # resp.time_series_selector.time_series_identifiers.schema.attributes[0].attribute_type #=> String, one of "string", "integer", "float", "timestamp", "geolocation" + # resp.time_series_selector.time_series_identifiers.format #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecast AWS API Documentation # @@ -2833,6 +2905,7 @@ def describe_forecast(params = {}, options = {}) # * {Types::DescribeForecastExportJobResponse#status #status} => String # * {Types::DescribeForecastExportJobResponse#creation_time #creation_time} => Time # * {Types::DescribeForecastExportJobResponse#last_modification_time #last_modification_time} => Time + # * {Types::DescribeForecastExportJobResponse#format #format} => String # # @example Request syntax with placeholder values # @@ -2852,6 +2925,7 @@ def describe_forecast(params = {}, options = {}) # resp.status #=> String # resp.creation_time #=> Time # resp.last_modification_time #=> Time + # resp.format #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecastExportJob AWS API Documentation # @@ -3091,6 +3165,7 @@ def describe_predictor(params = {}, options = {}) # * {Types::DescribePredictorBacktestExportJobResponse#status #status} => String # * {Types::DescribePredictorBacktestExportJobResponse#creation_time #creation_time} => Time # * {Types::DescribePredictorBacktestExportJobResponse#last_modification_time #last_modification_time} => Time + # * {Types::DescribePredictorBacktestExportJobResponse#format #format} => String # # @example Request syntax with placeholder values # @@ -3110,6 +3185,7 @@ def describe_predictor(params = {}, options = {}) # resp.status #=> String # resp.creation_time #=> Time # resp.last_modification_time #=> Time + # resp.format #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorBacktestExportJob AWS API Documentation # @@ -4293,7 +4369,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-forecastservice' - context[:gem_version] = '1.35.0' + context[:gem_version] = '1.36.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/client_api.rb b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/client_api.rb index 719be286ba0..427054b868d 100644 --- a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/client_api.rb +++ b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/client_api.rb @@ -132,6 +132,7 @@ module ClientApi ForecastType = Shapes::StringShape.new(name: 'ForecastType') ForecastTypes = Shapes::ListShape.new(name: 'ForecastTypes') Forecasts = Shapes::ListShape.new(name: 'Forecasts') + Format = Shapes::StringShape.new(name: 'Format') Frequency = Shapes::StringShape.new(name: 'Frequency') GeolocationFormat = Shapes::StringShape.new(name: 'GeolocationFormat') GetAccuracyMetricsRequest = Shapes::StructureShape.new(name: 'GetAccuracyMetricsRequest') @@ -233,6 +234,8 @@ module ClientApi TimeAlignmentBoundary = Shapes::StructureShape.new(name: 'TimeAlignmentBoundary') TimePointGranularity = Shapes::StringShape.new(name: 'TimePointGranularity') TimeSeriesGranularity = Shapes::StringShape.new(name: 'TimeSeriesGranularity') + TimeSeriesIdentifiers = Shapes::StructureShape.new(name: 'TimeSeriesIdentifiers') + TimeSeriesSelector = Shapes::StructureShape.new(name: 'TimeSeriesSelector') TimeZone = Shapes::StringShape.new(name: 'TimeZone') Timestamp = Shapes::TimestampShape.new(name: 'Timestamp') TimestampFormat = Shapes::StringShape.new(name: 'TimestampFormat') @@ -324,6 +327,7 @@ module ClientApi CreateDatasetImportJobRequest.add_member(:use_geolocation_for_time_zone, Shapes::ShapeRef.new(shape: UseGeolocationForTimeZone, location_name: "UseGeolocationForTimeZone")) CreateDatasetImportJobRequest.add_member(:geolocation_format, Shapes::ShapeRef.new(shape: GeolocationFormat, location_name: "GeolocationFormat")) CreateDatasetImportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags")) + CreateDatasetImportJobRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format")) CreateDatasetImportJobRequest.struct_class = Types::CreateDatasetImportJobRequest CreateDatasetImportJobResponse.add_member(:dataset_import_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetImportJobArn")) @@ -345,6 +349,7 @@ module ClientApi CreateExplainabilityExportRequest.add_member(:explainability_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ExplainabilityArn")) CreateExplainabilityExportRequest.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, required: true, location_name: "Destination")) CreateExplainabilityExportRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags")) + CreateExplainabilityExportRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format")) CreateExplainabilityExportRequest.struct_class = Types::CreateExplainabilityExportRequest CreateExplainabilityExportResponse.add_member(:explainability_export_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ExplainabilityExportArn")) @@ -368,6 +373,7 @@ module ClientApi CreateForecastExportJobRequest.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ForecastArn")) CreateForecastExportJobRequest.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, required: true, location_name: "Destination")) CreateForecastExportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags")) + CreateForecastExportJobRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format")) CreateForecastExportJobRequest.struct_class = Types::CreateForecastExportJobRequest CreateForecastExportJobResponse.add_member(:forecast_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ForecastExportJobArn")) @@ -377,6 +383,7 @@ module ClientApi CreateForecastRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn")) CreateForecastRequest.add_member(:forecast_types, Shapes::ShapeRef.new(shape: ForecastTypes, location_name: "ForecastTypes")) CreateForecastRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags")) + CreateForecastRequest.add_member(:time_series_selector, Shapes::ShapeRef.new(shape: TimeSeriesSelector, location_name: "TimeSeriesSelector")) CreateForecastRequest.struct_class = Types::CreateForecastRequest CreateForecastResponse.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ForecastArn")) @@ -394,6 +401,7 @@ module ClientApi CreatePredictorBacktestExportJobRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn")) CreatePredictorBacktestExportJobRequest.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, required: true, location_name: "Destination")) CreatePredictorBacktestExportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags")) + CreatePredictorBacktestExportJobRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format")) CreatePredictorBacktestExportJobRequest.struct_class = Types::CreatePredictorBacktestExportJobRequest CreatePredictorBacktestExportJobResponse.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorBacktestExportJobArn")) @@ -546,6 +554,7 @@ module ClientApi DescribeDatasetImportJobResponse.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message")) DescribeDatasetImportJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime")) DescribeDatasetImportJobResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime")) + DescribeDatasetImportJobResponse.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format")) DescribeDatasetImportJobResponse.struct_class = Types::DescribeDatasetImportJobResponse DescribeDatasetRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DatasetArn")) @@ -574,6 +583,7 @@ module ClientApi DescribeExplainabilityExportResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status")) DescribeExplainabilityExportResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime")) DescribeExplainabilityExportResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime")) + DescribeExplainabilityExportResponse.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format")) DescribeExplainabilityExportResponse.struct_class = Types::DescribeExplainabilityExportResponse DescribeExplainabilityRequest.add_member(:explainability_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ExplainabilityArn")) @@ -606,6 +616,7 @@ module ClientApi DescribeForecastExportJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status")) DescribeForecastExportJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime")) DescribeForecastExportJobResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime")) + DescribeForecastExportJobResponse.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format")) DescribeForecastExportJobResponse.struct_class = Types::DescribeForecastExportJobResponse DescribeForecastRequest.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ForecastArn")) @@ -621,6 +632,7 @@ module ClientApi DescribeForecastResponse.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) DescribeForecastResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime")) DescribeForecastResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime")) + DescribeForecastResponse.add_member(:time_series_selector, Shapes::ShapeRef.new(shape: TimeSeriesSelector, location_name: "TimeSeriesSelector")) DescribeForecastResponse.struct_class = Types::DescribeForecastResponse DescribeMonitorRequest.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "MonitorArn")) @@ -650,6 +662,7 @@ module ClientApi DescribePredictorBacktestExportJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status")) DescribePredictorBacktestExportJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime")) DescribePredictorBacktestExportJobResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime")) + DescribePredictorBacktestExportJobResponse.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format")) DescribePredictorBacktestExportJobResponse.struct_class = Types::DescribePredictorBacktestExportJobResponse DescribePredictorRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn")) @@ -1107,6 +1120,14 @@ module ClientApi TimeAlignmentBoundary.add_member(:hour, Shapes::ShapeRef.new(shape: Hour, location_name: "Hour")) TimeAlignmentBoundary.struct_class = Types::TimeAlignmentBoundary + TimeSeriesIdentifiers.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "DataSource")) + TimeSeriesIdentifiers.add_member(:schema, Shapes::ShapeRef.new(shape: Schema, location_name: "Schema")) + TimeSeriesIdentifiers.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format")) + TimeSeriesIdentifiers.struct_class = Types::TimeSeriesIdentifiers + + TimeSeriesSelector.add_member(:time_series_identifiers, Shapes::ShapeRef.new(shape: TimeSeriesIdentifiers, location_name: "TimeSeriesIdentifiers")) + TimeSeriesSelector.struct_class = Types::TimeSeriesSelector + TrainingParameters.key = Shapes::ShapeRef.new(shape: ParameterKey) TrainingParameters.value = Shapes::ShapeRef.new(shape: ParameterValue) diff --git a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb index c08d37bc7ad..df5e6a16dca 100644 --- a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb +++ b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb @@ -767,6 +767,7 @@ class CreateDatasetGroupResponse < Struct.new( # value: "TagValue", # required # }, # ], + # format: "Format", # } # # @!attribute [rw] dataset_import_job_name @@ -880,6 +881,11 @@ class CreateDatasetGroupResponse < Struct.new( # of `aws` do not count against your tags per resource limit. # @return [Array] # + # @!attribute [rw] format + # The format of the imported data, CSV or PARQUET. The default value + # is CSV. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateDatasetImportJobRequest AWS API Documentation # class CreateDatasetImportJobRequest < Struct.new( @@ -890,7 +896,8 @@ class CreateDatasetImportJobRequest < Struct.new( :time_zone, :use_geolocation_for_time_zone, :geolocation_format, - :tags) + :tags, + :format) SENSITIVE = [] include Aws::Structure end @@ -1068,6 +1075,7 @@ class CreateDatasetResponse < Struct.new( # value: "TagValue", # required # }, # ], + # format: "Format", # } # # @!attribute [rw] explainability_export_name @@ -1115,13 +1123,18 @@ class CreateDatasetResponse < Struct.new( # prefix. # @return [Array] # + # @!attribute [rw] format + # The format of the exported data, CSV or PARQUET. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateExplainabilityExportRequest AWS API Documentation # class CreateExplainabilityExportRequest < Struct.new( :explainability_export_name, :explainability_arn, :destination, - :tags) + :tags, + :format) SENSITIVE = [] include Aws::Structure end @@ -1296,6 +1309,7 @@ class CreateExplainabilityResponse < Struct.new( # value: "TagValue", # required # }, # ], + # format: "Format", # } # # @!attribute [rw] forecast_export_job_name @@ -1351,13 +1365,19 @@ class CreateExplainabilityResponse < Struct.new( # of `aws` do not count against your tags per resource limit. # @return [Array] # + # @!attribute [rw] format + # The format of the exported data, CSV or PARQUET. The default value + # is CSV. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateForecastExportJobRequest AWS API Documentation # class CreateForecastExportJobRequest < Struct.new( :forecast_export_job_name, :forecast_arn, :destination, - :tags) + :tags, + :format) SENSITIVE = [] include Aws::Structure end @@ -1387,6 +1407,26 @@ class CreateForecastExportJobResponse < Struct.new( # value: "TagValue", # required # }, # ], + # time_series_selector: { + # time_series_identifiers: { + # data_source: { + # s3_config: { # required + # path: "S3Path", # required + # role_arn: "Arn", # required + # kms_key_arn: "KMSKeyArn", + # }, + # }, + # schema: { + # attributes: [ + # { + # attribute_name: "Name", + # attribute_type: "string", # accepts string, integer, float, timestamp, geolocation + # }, + # ], + # }, + # format: "Format", + # }, + # }, # } # # @!attribute [rw] forecast_name @@ -1444,13 +1484,27 @@ class CreateForecastExportJobResponse < Struct.new( # of `aws` do not count against your tags per resource limit. # @return [Array] # + # @!attribute [rw] time_series_selector + # Defines the set of time series that are used to create the forecasts + # in a `TimeSeriesIdentifiers` object. + # + # The `TimeSeriesIdentifiers` object needs the following information: + # + # * `DataSource` + # + # * `Format` + # + # * `Schema` + # @return [Types::TimeSeriesSelector] + # # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateForecastRequest AWS API Documentation # class CreateForecastRequest < Struct.new( :forecast_name, :predictor_arn, :forecast_types, - :tags) + :tags, + :time_series_selector) SENSITIVE = [] include Aws::Structure end @@ -1538,6 +1592,7 @@ class CreateMonitorResponse < Struct.new( # value: "TagValue", # required # }, # ], + # format: "Format", # } # # @!attribute [rw] predictor_backtest_export_job_name @@ -1586,13 +1641,19 @@ class CreateMonitorResponse < Struct.new( # prefix. # @return [Array] # + # @!attribute [rw] format + # The format of the exported data, CSV or PARQUET. The default value + # is CSV. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreatePredictorBacktestExportJobRequest AWS API Documentation # class CreatePredictorBacktestExportJobRequest < Struct.new( :predictor_backtest_export_job_name, :predictor_arn, :destination, - :tags) + :tags, + :format) SENSITIVE = [] include Aws::Structure end @@ -2758,6 +2819,10 @@ class DescribeDatasetImportJobRequest < Struct.new( # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed. # @return [Time] # + # @!attribute [rw] format + # The format of the imported data, CSV or PARQUET. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeDatasetImportJobResponse AWS API Documentation # class DescribeDatasetImportJobResponse < Struct.new( @@ -2775,7 +2840,8 @@ class DescribeDatasetImportJobResponse < Struct.new( :status, :message, :creation_time, - :last_modification_time) + :last_modification_time, + :format) SENSITIVE = [] include Aws::Structure end @@ -2924,7 +2990,7 @@ class DescribeExplainabilityExportRequest < Struct.new( # @return [String] # # @!attribute [rw] explainability_arn - # The Amazon Resource Name (ARN) of the Explainability. + # The Amazon Resource Name (ARN) of the Explainability export. # @return [String] # # @!attribute [rw] destination @@ -2969,6 +3035,10 @@ class DescribeExplainabilityExportRequest < Struct.new( # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed. # @return [Time] # + # @!attribute [rw] format + # The format of the exported data, CSV or PARQUET. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeExplainabilityExportResponse AWS API Documentation # class DescribeExplainabilityExportResponse < Struct.new( @@ -2979,7 +3049,8 @@ class DescribeExplainabilityExportResponse < Struct.new( :message, :status, :creation_time, - :last_modification_time) + :last_modification_time, + :format) SENSITIVE = [] include Aws::Structure end @@ -3183,6 +3254,10 @@ class DescribeForecastExportJobRequest < Struct.new( # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed. # @return [Time] # + # @!attribute [rw] format + # The format of the exported data, CSV or PARQUET. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecastExportJobResponse AWS API Documentation # class DescribeForecastExportJobResponse < Struct.new( @@ -3193,7 +3268,8 @@ class DescribeForecastExportJobResponse < Struct.new( :message, :status, :creation_time, - :last_modification_time) + :last_modification_time, + :format) SENSITIVE = [] include Aws::Structure end @@ -3283,6 +3359,10 @@ class DescribeForecastRequest < Struct.new( # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed. # @return [Time] # + # @!attribute [rw] time_series_selector + # The time series to include in the forecast. + # @return [Types::TimeSeriesSelector] + # # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecastResponse AWS API Documentation # class DescribeForecastResponse < Struct.new( @@ -3295,7 +3375,8 @@ class DescribeForecastResponse < Struct.new( :status, :message, :creation_time, - :last_modification_time) + :last_modification_time, + :time_series_selector) SENSITIVE = [] include Aws::Structure end @@ -3458,6 +3539,10 @@ class DescribePredictorBacktestExportJobRequest < Struct.new( # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed. # @return [Time] # + # @!attribute [rw] format + # The format of the exported data, CSV or PARQUET. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorBacktestExportJobResponse AWS API Documentation # class DescribePredictorBacktestExportJobResponse < Struct.new( @@ -3468,7 +3553,8 @@ class DescribePredictorBacktestExportJobResponse < Struct.new( :message, :status, :creation_time, - :last_modification_time) + :last_modification_time, + :format) SENSITIVE = [] include Aws::Structure end @@ -3829,8 +3915,8 @@ class EvaluationResult < Struct.new( # use `ALL`. To create an Explainability for specific time series in # your datasets, use `SPECIFIC`. # - # Specify time series by uploading a CSV file to an Amazon S3 bucket - # and set the location within the DataDestination data type. + # Specify time series by uploading a CSV or Parquet file to an Amazon + # S3 bucket and set the location within the DataDestination data type. # @return [String] # # @!attribute [rw] time_point_granularity @@ -6809,6 +6895,103 @@ class TimeAlignmentBoundary < Struct.new( include Aws::Structure end + # Details about the import file that contains the time series for which + # you want to create forecasts. + # + # @note When making an API call, you may pass TimeSeriesIdentifiers + # data as a hash: + # + # { + # data_source: { + # s3_config: { # required + # path: "S3Path", # required + # role_arn: "Arn", # required + # kms_key_arn: "KMSKeyArn", + # }, + # }, + # schema: { + # attributes: [ + # { + # attribute_name: "Name", + # attribute_type: "string", # accepts string, integer, float, timestamp, geolocation + # }, + # ], + # }, + # format: "Format", + # } + # + # @!attribute [rw] data_source + # The source of your data, an AWS Identity and Access Management (IAM) + # role that allows Amazon Forecast to access the data and, optionally, + # an AWS Key Management Service (KMS) key. + # @return [Types::DataSource] + # + # @!attribute [rw] schema + # Defines the fields of a dataset. + # @return [Types::Schema] + # + # @!attribute [rw] format + # The format of the data, either CSV or PARQUET. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/TimeSeriesIdentifiers AWS API Documentation + # + class TimeSeriesIdentifiers < Struct.new( + :data_source, + :schema, + :format) + SENSITIVE = [] + include Aws::Structure + end + + # Defines the set of time series that are used to create the forecasts + # in a `TimeSeriesIdentifiers` object. + # + # The `TimeSeriesIdentifiers` object needs the following information: + # + # * `DataSource` + # + # * `Format` + # + # * `Schema` + # + # @note When making an API call, you may pass TimeSeriesSelector + # data as a hash: + # + # { + # time_series_identifiers: { + # data_source: { + # s3_config: { # required + # path: "S3Path", # required + # role_arn: "Arn", # required + # kms_key_arn: "KMSKeyArn", + # }, + # }, + # schema: { + # attributes: [ + # { + # attribute_name: "Name", + # attribute_type: "string", # accepts string, integer, float, timestamp, geolocation + # }, + # ], + # }, + # format: "Format", + # }, + # } + # + # @!attribute [rw] time_series_identifiers + # Details about the import file that contains the time series for + # which you want to create forecasts. + # @return [Types::TimeSeriesIdentifiers] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/TimeSeriesSelector AWS API Documentation + # + class TimeSeriesSelector < Struct.new( + :time_series_identifiers) + SENSITIVE = [] + include Aws::Structure + end + # @note When making an API call, you may pass UntagResourceRequest # data as a hash: # diff --git a/gems/aws-sdk-route53/CHANGELOG.md b/gems/aws-sdk-route53/CHANGELOG.md index b1848d2ec92..3a49ef1d996 100644 --- a/gems/aws-sdk-route53/CHANGELOG.md +++ b/gems/aws-sdk-route53/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.63.0 (2022-06-01) +------------------ + +* Feature - Add new APIs to support Route 53 IP Based Routing + 1.62.0 (2022-02-24) ------------------ diff --git a/gems/aws-sdk-route53/VERSION b/gems/aws-sdk-route53/VERSION index 76d05362056..af92bdd9f58 100644 --- a/gems/aws-sdk-route53/VERSION +++ b/gems/aws-sdk-route53/VERSION @@ -1 +1 @@ -1.62.0 +1.63.0 diff --git a/gems/aws-sdk-route53/lib/aws-sdk-route53.rb b/gems/aws-sdk-route53/lib/aws-sdk-route53.rb index dada3e871d8..899501326fc 100644 --- a/gems/aws-sdk-route53/lib/aws-sdk-route53.rb +++ b/gems/aws-sdk-route53/lib/aws-sdk-route53.rb @@ -49,6 +49,6 @@ # @!group service module Aws::Route53 - GEM_VERSION = '1.62.0' + GEM_VERSION = '1.63.0' end diff --git a/gems/aws-sdk-route53/lib/aws-sdk-route53/client.rb b/gems/aws-sdk-route53/lib/aws-sdk-route53/client.rb index 896e6b5939c..97d54eaaa24 100644 --- a/gems/aws-sdk-route53/lib/aws-sdk-route53/client.rb +++ b/gems/aws-sdk-route53/lib/aws-sdk-route53/client.rb @@ -496,6 +496,82 @@ def associate_vpc_with_hosted_zone(params = {}, options = {}) req.send_request(options) end + # Creates, changes, or deletes CIDR blocks within a collection. Contains + # authoritative IP information mapping blocks to one or multiple + # locations. + # + # A change request can update multiple locations in a collection at a + # time, which is helpful if you want to move one or more CIDR blocks + # from one location to another in one transaction, without downtime. + # + # **Limits** + # + # The max number of CIDR blocks included in the request is 1000. As a + # result, big updates require multiple API calls. + # + # PUT and DELETE\_IF\_EXISTS + # + # Use `ChangeCidrCollection` to perform the following actions: + # + # * `PUT`\: Create a CIDR block within the specified collection. + # + # * ` DELETE_IF_EXISTS`\: Delete an existing CIDR block from the + # collection. + # + # @option params [required, String] :id + # The UUID of the CIDR collection to update. + # + # @option params [Integer] :collection_version + # A sequential counter that Amazon Route 53 sets to 1 when you create a + # collection and increments it by 1 each time you update the collection. + # + # We recommend that you use `ListCidrCollection` to get the current + # value of `CollectionVersion` for the collection that you want to + # update, and then include that value with the change request. This + # prevents Route 53 from overwriting an intervening update: + # + # * If the value in the request matches the value of `CollectionVersion` + # in the collection, Route 53 updates the collection. + # + # * If the value of `CollectionVersion` in the collection is greater + # than the value in the request, the collection was changed after you + # got the version number. Route 53 does not update the collection, and + # it returns a `CidrCollectionVersionMismatch` error. + # + # @option params [required, Array] :changes + # Information about changes to a CIDR collection. + # + # @return [Types::ChangeCidrCollectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ChangeCidrCollectionResponse#id #id} => String + # + # @example Request syntax with placeholder values + # + # resp = client.change_cidr_collection({ + # id: "UUID", # required + # collection_version: 1, + # changes: [ # required + # { + # location_name: "CidrLocationNameDefaultNotAllowed", # required + # action: "PUT", # required, accepts PUT, DELETE_IF_EXISTS + # cidr_list: ["Cidr"], # required + # }, + # ], + # }) + # + # @example Response structure + # + # resp.id #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeCidrCollection AWS API Documentation + # + # @overload change_cidr_collection(params = {}) + # @param [Hash] params ({}) + def change_cidr_collection(params = {}, options = {}) + req = build_request(:change_cidr_collection, params) + req.send_request(options) + end + # Creates, changes, or deletes a resource record set, which contains # authoritative DNS information for a specified domain name or subdomain # name. For example, you can use `ChangeResourceRecordSets` to create a @@ -1224,6 +1300,10 @@ def associate_vpc_with_hosted_zone(params = {}, options = {}) # }, # health_check_id: "HealthCheckId", # traffic_policy_instance_id: "TrafficPolicyInstanceId", + # cidr_routing_config: { + # collection_id: "UUID", # required + # location_name: "CidrLocationNameDefaultAllowed", # required + # }, # }, # }, # ], @@ -1330,6 +1410,46 @@ def change_tags_for_resource(params = {}, options = {}) req.send_request(options) end + # Creates a CIDR collection in the current Amazon Web Services account. + # + # @option params [required, String] :name + # A unique identifier for the account that can be used to reference the + # collection from other API calls. + # + # @option params [required, String] :caller_reference + # A client-specific token that allows requests to be securely retried so + # that the intended outcome will only occur once, retries receive a + # similar response, and there are no additional edge cases to handle. + # + # @return [Types::CreateCidrCollectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::CreateCidrCollectionResponse#collection #collection} => Types::CidrCollection + # * {Types::CreateCidrCollectionResponse#location #location} => String + # + # @example Request syntax with placeholder values + # + # resp = client.create_cidr_collection({ + # name: "CollectionName", # required + # caller_reference: "CidrNonce", # required + # }) + # + # @example Response structure + # + # resp.collection.arn #=> String + # resp.collection.id #=> String + # resp.collection.name #=> String + # resp.collection.version #=> Integer + # resp.location #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateCidrCollection AWS API Documentation + # + # @overload create_cidr_collection(params = {}) + # @param [Hash] params ({}) + def create_cidr_collection(params = {}, options = {}) + req = build_request(:create_cidr_collection, params) + req.send_request(options) + end + # Creates a new health check. # # For information about adding health checks to resource record sets, @@ -1492,8 +1612,8 @@ def create_health_check(params = {}, options = {}) # vice versa. Instead, you must create a new hosted zone with the same # name and create new resource record sets. # - # For more information about charges for hosted zones, see [Amazon Route - # 53 Pricing][1]. + # For more information about charges for hosted zones, see [Amazon + # Route 53 Pricing][1]. # # Note the following: # @@ -1502,7 +1622,7 @@ def create_health_check(params = {}, options = {}) # # * For public hosted zones, Route 53 automatically creates a default # SOA record and four NS records for the zone. For more information - # about SOA and NS records, see [NS and SOA Records that Route 53 + # about SOA and NS records, see [NS and SOA Records that Route 53 # Creates for a Hosted Zone][2] in the *Amazon Route 53 Developer # Guide*. # @@ -1510,15 +1630,15 @@ def create_health_check(params = {}, options = {}) # zones, you can optionally associate a reusable delegation set with # the hosted zone. See the `DelegationSetId` element. # - # * If your domain is registered with a registrar other than Route 53, + # * If your domain is registered with a registrar other than Route 53, # you must update the name servers with your registrar to make Route # 53 the DNS service for the domain. For more information, see - # [Migrating DNS Service for an Existing Domain to Amazon Route 53][3] + # [Migrating DNS Service for an Existing Domain to Amazon Route 53][3] # in the *Amazon Route 53 Developer Guide*. # # When you submit a `CreateHostedZone` request, the initial status of # the hosted zone is `PENDING`. For public hosted zones, this means that - # the NS and SOA records are not yet available on all Route 53 DNS + # the NS and SOA records are not yet available on all Route 53 DNS # servers. When the NS and SOA records are available, the status of the # zone changes to `INSYNC`. # @@ -1552,14 +1672,14 @@ def create_health_check(params = {}, options = {}) # # @option params [required, String] :name # The name of the domain. Specify a fully qualified domain name, for - # example, *www.example.com*. The trailing dot is optional; Amazon Route - # 53 assumes that the domain name is fully qualified. This means that - # Route 53 treats *www.example.com* (without a trailing dot) and + # example, *www.example.com*. The trailing dot is optional; Amazon + # Route 53 assumes that the domain name is fully qualified. This means + # that Route 53 treats *www.example.com* (without a trailing dot) and # *www.example.com.* (with a trailing dot) as identical. # # If you're creating a public hosted zone, this is the name you have # registered with your DNS registrar. If your domain name is registered - # with a registrar other than Route 53, change the name servers for your + # with a registrar other than Route 53, change the name servers for your # domain to the set of `NameServers` that `CreateHostedZone` returns in # `DelegationSet`. # @@ -1598,7 +1718,7 @@ def create_health_check(params = {}, options = {}) # # @option params [String] :delegation_set_id # If you want to associate a reusable delegation set with this hosted - # zone, the ID that Amazon Route 53 assigned to the reusable delegation + # zone, the ID that Amazon Route 53 assigned to the reusable delegation # set when you created it. For more information about reusable # delegation sets, see [CreateReusableDelegationSet][1]. # @@ -2333,6 +2453,29 @@ def deactivate_key_signing_key(params = {}, options = {}) req.send_request(options) end + # Deletes a CIDR collection in the current Amazon Web Services account. + # The collection must be empty before it can be deleted. + # + # @option params [required, String] :id + # The UUID of the collection to delete. + # + # @return [Struct] Returns an empty {Seahorse::Client::Response response}. + # + # @example Request syntax with placeholder values + # + # resp = client.delete_cidr_collection({ + # id: "UUID", # required + # }) + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteCidrCollection AWS API Documentation + # + # @overload delete_cidr_collection(params = {}) + # @param [Hash] params ({}) + def delete_cidr_collection(params = {}, options = {}) + req = build_request(:delete_cidr_collection, params) + req.send_request(options) + end + # Deletes a health check. # # Amazon Route 53 does not prevent you from deleting a health check even @@ -2379,7 +2522,7 @@ def delete_health_check(params = {}, options = {}) # # If the hosted zone was created by another service, such as Cloud Map, # see [Deleting Public Hosted Zones That Were Created by Another - # Service][1] in the *Amazon Route 53 Developer Guide* for information + # Service][1] in the *Amazon Route 53 Developer Guide* for information # about how to delete it. (The process is the same for public and # private hosted zones that were created by another service.) # @@ -2400,9 +2543,9 @@ def delete_health_check(params = {}, options = {}) # If you want to avoid the monthly charge for the hosted zone, you can # transfer DNS service for the domain to a free DNS service. When you # transfer DNS service, you have to update the name servers for the - # domain registration. If the domain is registered with Route 53, see + # domain registration. If the domain is registered with Route 53, see # [UpdateDomainNameservers][2] for information about how to replace - # Route 53 name servers with name servers for the new DNS service. If + # Route 53 name servers with name servers for the new DNS service. If # the domain is registered with another registrar, use the method # provided by the registrar to update name servers for the domain # registration. For more information, perform an internet search on @@ -2412,7 +2555,7 @@ def delete_health_check(params = {}, options = {}) # record and NS resource record sets. If the hosted zone contains other # resource record sets, you must delete them before you can delete the # hosted zone. If you try to delete a hosted zone that contains other - # resource record sets, the request fails, and Route 53 returns a + # resource record sets, the request fails, and Route 53 returns a # `HostedZoneNotEmpty` error. For information about deleting records # from your hosted zone, see [ChangeResourceRecordSets][3]. # @@ -2934,7 +3077,7 @@ def get_account_limit(params = {}, options = {}) # @example Request syntax with placeholder values # # resp = client.get_change({ - # id: "ResourceId", # required + # id: "ChangeId", # required # }) # # @example Response structure @@ -3680,6 +3823,145 @@ def get_traffic_policy_instance_count(params = {}, options = {}) req.send_request(options) end + # Returns a paginated list of location objects and their CIDR blocks. + # + # @option params [required, String] :collection_id + # The UUID of the CIDR collection. + # + # @option params [String] :location_name + # The name of the CIDR collection location. + # + # @option params [String] :next_token + # An opaque pagination token to indicate where the service is to begin + # enumerating results. + # + # @option params [String] :max_results + # Maximum number of results you want returned. + # + # @return [Types::ListCidrBlocksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListCidrBlocksResponse#next_token #next_token} => String + # * {Types::ListCidrBlocksResponse#cidr_blocks #cidr_blocks} => Array<Types::CidrBlockSummary> + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.list_cidr_blocks({ + # collection_id: "UUID", # required + # location_name: "CidrLocationNameDefaultNotAllowed", + # next_token: "PaginationToken", + # max_results: "MaxResults", + # }) + # + # @example Response structure + # + # resp.next_token #=> String + # resp.cidr_blocks #=> Array + # resp.cidr_blocks[0].cidr_block #=> String + # resp.cidr_blocks[0].location_name #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListCidrBlocks AWS API Documentation + # + # @overload list_cidr_blocks(params = {}) + # @param [Hash] params ({}) + def list_cidr_blocks(params = {}, options = {}) + req = build_request(:list_cidr_blocks, params) + req.send_request(options) + end + + # Returns a paginated list of CIDR collections in the Amazon Web + # Services account (metadata only). + # + # @option params [String] :next_token + # An opaque pagination token to indicate where the service is to begin + # enumerating results. + # + # If no value is provided, the listing of results starts from the + # beginning. + # + # @option params [String] :max_results + # The maximum number of CIDR collections to return in the response. + # + # @return [Types::ListCidrCollectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListCidrCollectionsResponse#next_token #next_token} => String + # * {Types::ListCidrCollectionsResponse#cidr_collections #cidr_collections} => Array<Types::CollectionSummary> + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.list_cidr_collections({ + # next_token: "PaginationToken", + # max_results: "MaxResults", + # }) + # + # @example Response structure + # + # resp.next_token #=> String + # resp.cidr_collections #=> Array + # resp.cidr_collections[0].arn #=> String + # resp.cidr_collections[0].id #=> String + # resp.cidr_collections[0].name #=> String + # resp.cidr_collections[0].version #=> Integer + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListCidrCollections AWS API Documentation + # + # @overload list_cidr_collections(params = {}) + # @param [Hash] params ({}) + def list_cidr_collections(params = {}, options = {}) + req = build_request(:list_cidr_collections, params) + req.send_request(options) + end + + # Returns a paginated list of CIDR locations for the given collection + # (metadata only, does not include CIDR blocks). + # + # @option params [required, String] :collection_id + # The CIDR collection ID. + # + # @option params [String] :next_token + # An opaque pagination token to indicate where the service is to begin + # enumerating results. + # + # If no value is provided, the listing of results starts from the + # beginning. + # + # @option params [String] :max_results + # The maximum number of CIDR collection locations to return in the + # response. + # + # @return [Types::ListCidrLocationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListCidrLocationsResponse#next_token #next_token} => String + # * {Types::ListCidrLocationsResponse#cidr_locations #cidr_locations} => Array<Types::LocationSummary> + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.list_cidr_locations({ + # collection_id: "UUID", # required + # next_token: "PaginationToken", + # max_results: "MaxResults", + # }) + # + # @example Response structure + # + # resp.next_token #=> String + # resp.cidr_locations #=> Array + # resp.cidr_locations[0].location_name #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListCidrLocations AWS API Documentation + # + # @overload list_cidr_locations(params = {}) + # @param [Hash] params ({}) + def list_cidr_locations(params = {}, options = {}) + req = build_request(:list_cidr_locations, params) + req.send_request(options) + end + # Retrieves a list of supported geographic locations. # # Countries are listed first, and continents are listed last. If Amazon @@ -4420,6 +4702,8 @@ def list_query_logging_configs(params = {}, options = {}) # resp.resource_record_sets[0].alias_target.evaluate_target_health #=> Boolean # resp.resource_record_sets[0].health_check_id #=> String # resp.resource_record_sets[0].traffic_policy_instance_id #=> String + # resp.resource_record_sets[0].cidr_routing_config.collection_id #=> String + # resp.resource_record_sets[0].cidr_routing_config.location_name #=> String # resp.is_truncated #=> Boolean # resp.next_record_name #=> String # resp.next_record_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS" @@ -5759,7 +6043,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-route53' - context[:gem_version] = '1.62.0' + context[:gem_version] = '1.63.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-route53/lib/aws-sdk-route53/client_api.rb b/gems/aws-sdk-route53/lib/aws-sdk-route53/client_api.rb index 5d4b5c1b3e7..074b12d1709 100644 --- a/gems/aws-sdk-route53/lib/aws-sdk-route53/client_api.rb +++ b/gems/aws-sdk-route53/lib/aws-sdk-route53/client_api.rb @@ -13,6 +13,7 @@ module ClientApi include Seahorse::Model + ARN = Shapes::StringShape.new(name: 'ARN') AWSAccountID = Shapes::StringShape.new(name: 'AWSAccountID') AccountLimit = Shapes::StructureShape.new(name: 'AccountLimit') AccountLimitType = Shapes::StringShape.new(name: 'AccountLimitType') @@ -28,6 +29,9 @@ module ClientApi Change = Shapes::StructureShape.new(name: 'Change') ChangeAction = Shapes::StringShape.new(name: 'ChangeAction') ChangeBatch = Shapes::StructureShape.new(name: 'ChangeBatch') + ChangeCidrCollectionRequest = Shapes::StructureShape.new(name: 'ChangeCidrCollectionRequest') + ChangeCidrCollectionResponse = Shapes::StructureShape.new(name: 'ChangeCidrCollectionResponse') + ChangeId = Shapes::StringShape.new(name: 'ChangeId') ChangeInfo = Shapes::StructureShape.new(name: 'ChangeInfo') ChangeResourceRecordSetsRequest = Shapes::StructureShape.new(name: 'ChangeResourceRecordSetsRequest') ChangeResourceRecordSetsResponse = Shapes::StructureShape.new(name: 'ChangeResourceRecordSetsResponse') @@ -37,13 +41,35 @@ module ClientApi Changes = Shapes::ListShape.new(name: 'Changes') CheckerIpRanges = Shapes::ListShape.new(name: 'CheckerIpRanges') ChildHealthCheckList = Shapes::ListShape.new(name: 'ChildHealthCheckList') + Cidr = Shapes::StringShape.new(name: 'Cidr') + CidrBlockInUseException = Shapes::StructureShape.new(name: 'CidrBlockInUseException') + CidrBlockSummaries = Shapes::ListShape.new(name: 'CidrBlockSummaries') + CidrBlockSummary = Shapes::StructureShape.new(name: 'CidrBlockSummary') + CidrCollection = Shapes::StructureShape.new(name: 'CidrCollection') + CidrCollectionAlreadyExistsException = Shapes::StructureShape.new(name: 'CidrCollectionAlreadyExistsException') + CidrCollectionChange = Shapes::StructureShape.new(name: 'CidrCollectionChange') + CidrCollectionChangeAction = Shapes::StringShape.new(name: 'CidrCollectionChangeAction') + CidrCollectionChanges = Shapes::ListShape.new(name: 'CidrCollectionChanges') + CidrCollectionInUseException = Shapes::StructureShape.new(name: 'CidrCollectionInUseException') + CidrCollectionVersionMismatchException = Shapes::StructureShape.new(name: 'CidrCollectionVersionMismatchException') + CidrList = Shapes::ListShape.new(name: 'CidrList') + CidrLocationNameDefaultAllowed = Shapes::StringShape.new(name: 'CidrLocationNameDefaultAllowed') + CidrLocationNameDefaultNotAllowed = Shapes::StringShape.new(name: 'CidrLocationNameDefaultNotAllowed') + CidrNonce = Shapes::StringShape.new(name: 'CidrNonce') + CidrRoutingConfig = Shapes::StructureShape.new(name: 'CidrRoutingConfig') CloudWatchAlarmConfiguration = Shapes::StructureShape.new(name: 'CloudWatchAlarmConfiguration') CloudWatchLogsLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogsLogGroupArn') CloudWatchRegion = Shapes::StringShape.new(name: 'CloudWatchRegion') + CollectionName = Shapes::StringShape.new(name: 'CollectionName') + CollectionSummaries = Shapes::ListShape.new(name: 'CollectionSummaries') + CollectionSummary = Shapes::StructureShape.new(name: 'CollectionSummary') + CollectionVersion = Shapes::IntegerShape.new(name: 'CollectionVersion') ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator') ConcurrentModification = Shapes::StructureShape.new(name: 'ConcurrentModification') ConflictingDomainExists = Shapes::StructureShape.new(name: 'ConflictingDomainExists') ConflictingTypes = Shapes::StructureShape.new(name: 'ConflictingTypes') + CreateCidrCollectionRequest = Shapes::StructureShape.new(name: 'CreateCidrCollectionRequest') + CreateCidrCollectionResponse = Shapes::StructureShape.new(name: 'CreateCidrCollectionResponse') CreateHealthCheckRequest = Shapes::StructureShape.new(name: 'CreateHealthCheckRequest') CreateHealthCheckResponse = Shapes::StructureShape.new(name: 'CreateHealthCheckResponse') CreateHostedZoneRequest = Shapes::StructureShape.new(name: 'CreateHostedZoneRequest') @@ -76,6 +102,8 @@ module ClientApi DelegationSetNotAvailable = Shapes::StructureShape.new(name: 'DelegationSetNotAvailable') DelegationSetNotReusable = Shapes::StructureShape.new(name: 'DelegationSetNotReusable') DelegationSets = Shapes::ListShape.new(name: 'DelegationSets') + DeleteCidrCollectionRequest = Shapes::StructureShape.new(name: 'DeleteCidrCollectionRequest') + DeleteCidrCollectionResponse = Shapes::StructureShape.new(name: 'DeleteCidrCollectionResponse') DeleteHealthCheckRequest = Shapes::StructureShape.new(name: 'DeleteHealthCheckRequest') DeleteHealthCheckResponse = Shapes::StructureShape.new(name: 'DeleteHealthCheckResponse') DeleteHostedZoneRequest = Shapes::StructureShape.new(name: 'DeleteHostedZoneRequest') @@ -214,6 +242,12 @@ module ClientApi LimitValue = Shapes::IntegerShape.new(name: 'LimitValue') LimitsExceeded = Shapes::StructureShape.new(name: 'LimitsExceeded') LinkedService = Shapes::StructureShape.new(name: 'LinkedService') + ListCidrBlocksRequest = Shapes::StructureShape.new(name: 'ListCidrBlocksRequest') + ListCidrBlocksResponse = Shapes::StructureShape.new(name: 'ListCidrBlocksResponse') + ListCidrCollectionsRequest = Shapes::StructureShape.new(name: 'ListCidrCollectionsRequest') + ListCidrCollectionsResponse = Shapes::StructureShape.new(name: 'ListCidrCollectionsResponse') + ListCidrLocationsRequest = Shapes::StructureShape.new(name: 'ListCidrLocationsRequest') + ListCidrLocationsResponse = Shapes::StructureShape.new(name: 'ListCidrLocationsResponse') ListGeoLocationsRequest = Shapes::StructureShape.new(name: 'ListGeoLocationsRequest') ListGeoLocationsResponse = Shapes::StructureShape.new(name: 'ListGeoLocationsResponse') ListHealthChecksRequest = Shapes::StructureShape.new(name: 'ListHealthChecksRequest') @@ -246,6 +280,8 @@ module ClientApi ListTrafficPolicyVersionsResponse = Shapes::StructureShape.new(name: 'ListTrafficPolicyVersionsResponse') ListVPCAssociationAuthorizationsRequest = Shapes::StructureShape.new(name: 'ListVPCAssociationAuthorizationsRequest') ListVPCAssociationAuthorizationsResponse = Shapes::StructureShape.new(name: 'ListVPCAssociationAuthorizationsResponse') + LocationSummaries = Shapes::ListShape.new(name: 'LocationSummaries') + LocationSummary = Shapes::StructureShape.new(name: 'LocationSummary') MaxResults = Shapes::StringShape.new(name: 'MaxResults') MeasureLatency = Shapes::BooleanShape.new(name: 'MeasureLatency') Message = Shapes::StringShape.new(name: 'Message') @@ -253,6 +289,8 @@ module ClientApi Nameserver = Shapes::StringShape.new(name: 'Nameserver') Namespace = Shapes::StringShape.new(name: 'Namespace') NoSuchChange = Shapes::StructureShape.new(name: 'NoSuchChange') + NoSuchCidrCollectionException = Shapes::StructureShape.new(name: 'NoSuchCidrCollectionException') + NoSuchCidrLocationException = Shapes::StructureShape.new(name: 'NoSuchCidrLocationException') NoSuchCloudWatchLogsLogGroup = Shapes::StructureShape.new(name: 'NoSuchCloudWatchLogsLogGroup') NoSuchDelegationSet = Shapes::StructureShape.new(name: 'NoSuchDelegationSet') NoSuchGeoLocation = Shapes::StructureShape.new(name: 'NoSuchGeoLocation') @@ -354,6 +392,7 @@ module ClientApi TrafficPolicyVersion = Shapes::IntegerShape.new(name: 'TrafficPolicyVersion') TrafficPolicyVersionMarker = Shapes::StringShape.new(name: 'TrafficPolicyVersionMarker') TransportProtocol = Shapes::StringShape.new(name: 'TransportProtocol') + UUID = Shapes::StringShape.new(name: 'UUID') UpdateHealthCheckRequest = Shapes::StructureShape.new(name: 'UpdateHealthCheckRequest') UpdateHealthCheckResponse = Shapes::StructureShape.new(name: 'UpdateHealthCheckResponse') UpdateHostedZoneCommentRequest = Shapes::StructureShape.new(name: 'UpdateHostedZoneCommentRequest') @@ -406,6 +445,14 @@ module ClientApi ChangeBatch.add_member(:changes, Shapes::ShapeRef.new(shape: Changes, required: true, location_name: "Changes")) ChangeBatch.struct_class = Types::ChangeBatch + ChangeCidrCollectionRequest.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "CidrCollectionId")) + ChangeCidrCollectionRequest.add_member(:collection_version, Shapes::ShapeRef.new(shape: CollectionVersion, location_name: "CollectionVersion")) + ChangeCidrCollectionRequest.add_member(:changes, Shapes::ShapeRef.new(shape: CidrCollectionChanges, required: true, location_name: "Changes")) + ChangeCidrCollectionRequest.struct_class = Types::ChangeCidrCollectionRequest + + ChangeCidrCollectionResponse.add_member(:id, Shapes::ShapeRef.new(shape: ChangeId, required: true, location_name: "Id")) + ChangeCidrCollectionResponse.struct_class = Types::ChangeCidrCollectionResponse + ChangeInfo.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "Id")) ChangeInfo.add_member(:status, Shapes::ShapeRef.new(shape: ChangeStatus, required: true, location_name: "Status")) ChangeInfo.add_member(:submitted_at, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "SubmittedAt")) @@ -433,6 +480,43 @@ module ClientApi ChildHealthCheckList.member = Shapes::ShapeRef.new(shape: HealthCheckId, location_name: "ChildHealthCheck") + CidrBlockInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) + CidrBlockInUseException.struct_class = Types::CidrBlockInUseException + + CidrBlockSummaries.member = Shapes::ShapeRef.new(shape: CidrBlockSummary) + + CidrBlockSummary.add_member(:cidr_block, Shapes::ShapeRef.new(shape: Cidr, location_name: "CidrBlock")) + CidrBlockSummary.add_member(:location_name, Shapes::ShapeRef.new(shape: CidrLocationNameDefaultNotAllowed, location_name: "LocationName")) + CidrBlockSummary.struct_class = Types::CidrBlockSummary + + CidrCollection.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn")) + CidrCollection.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id")) + CidrCollection.add_member(:name, Shapes::ShapeRef.new(shape: CollectionName, location_name: "Name")) + CidrCollection.add_member(:version, Shapes::ShapeRef.new(shape: CollectionVersion, location_name: "Version")) + CidrCollection.struct_class = Types::CidrCollection + + CidrCollectionAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) + CidrCollectionAlreadyExistsException.struct_class = Types::CidrCollectionAlreadyExistsException + + CidrCollectionChange.add_member(:location_name, Shapes::ShapeRef.new(shape: CidrLocationNameDefaultNotAllowed, required: true, location_name: "LocationName")) + CidrCollectionChange.add_member(:action, Shapes::ShapeRef.new(shape: CidrCollectionChangeAction, required: true, location_name: "Action")) + CidrCollectionChange.add_member(:cidr_list, Shapes::ShapeRef.new(shape: CidrList, required: true, location_name: "CidrList")) + CidrCollectionChange.struct_class = Types::CidrCollectionChange + + CidrCollectionChanges.member = Shapes::ShapeRef.new(shape: CidrCollectionChange) + + CidrCollectionInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) + CidrCollectionInUseException.struct_class = Types::CidrCollectionInUseException + + CidrCollectionVersionMismatchException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) + CidrCollectionVersionMismatchException.struct_class = Types::CidrCollectionVersionMismatchException + + CidrList.member = Shapes::ShapeRef.new(shape: Cidr, location_name: "Cidr") + + CidrRoutingConfig.add_member(:collection_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "CollectionId")) + CidrRoutingConfig.add_member(:location_name, Shapes::ShapeRef.new(shape: CidrLocationNameDefaultAllowed, required: true, location_name: "LocationName")) + CidrRoutingConfig.struct_class = Types::CidrRoutingConfig + CloudWatchAlarmConfiguration.add_member(:evaluation_periods, Shapes::ShapeRef.new(shape: EvaluationPeriods, required: true, location_name: "EvaluationPeriods")) CloudWatchAlarmConfiguration.add_member(:threshold, Shapes::ShapeRef.new(shape: Threshold, required: true, location_name: "Threshold")) CloudWatchAlarmConfiguration.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ComparisonOperator, required: true, location_name: "ComparisonOperator")) @@ -443,6 +527,14 @@ module ClientApi CloudWatchAlarmConfiguration.add_member(:dimensions, Shapes::ShapeRef.new(shape: DimensionList, location_name: "Dimensions")) CloudWatchAlarmConfiguration.struct_class = Types::CloudWatchAlarmConfiguration + CollectionSummaries.member = Shapes::ShapeRef.new(shape: CollectionSummary) + + CollectionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn")) + CollectionSummary.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id")) + CollectionSummary.add_member(:name, Shapes::ShapeRef.new(shape: CollectionName, location_name: "Name")) + CollectionSummary.add_member(:version, Shapes::ShapeRef.new(shape: CollectionVersion, location_name: "Version")) + CollectionSummary.struct_class = Types::CollectionSummary + ConcurrentModification.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message")) ConcurrentModification.struct_class = Types::ConcurrentModification @@ -452,6 +544,14 @@ module ClientApi ConflictingTypes.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message")) ConflictingTypes.struct_class = Types::ConflictingTypes + CreateCidrCollectionRequest.add_member(:name, Shapes::ShapeRef.new(shape: CollectionName, required: true, location_name: "Name")) + CreateCidrCollectionRequest.add_member(:caller_reference, Shapes::ShapeRef.new(shape: CidrNonce, required: true, location_name: "CallerReference")) + CreateCidrCollectionRequest.struct_class = Types::CreateCidrCollectionRequest + + CreateCidrCollectionResponse.add_member(:collection, Shapes::ShapeRef.new(shape: CidrCollection, location_name: "Collection")) + CreateCidrCollectionResponse.add_member(:location, Shapes::ShapeRef.new(shape: ResourceURI, location: "header", location_name: "Location")) + CreateCidrCollectionResponse.struct_class = Types::CreateCidrCollectionResponse + CreateHealthCheckRequest.add_member(:caller_reference, Shapes::ShapeRef.new(shape: HealthCheckNonce, required: true, location_name: "CallerReference")) CreateHealthCheckRequest.add_member(:health_check_config, Shapes::ShapeRef.new(shape: HealthCheckConfig, required: true, location_name: "HealthCheckConfig")) CreateHealthCheckRequest.struct_class = Types::CreateHealthCheckRequest @@ -577,6 +677,11 @@ module ClientApi DelegationSets.member = Shapes::ShapeRef.new(shape: DelegationSet, location_name: "DelegationSet") + DeleteCidrCollectionRequest.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "CidrCollectionId")) + DeleteCidrCollectionRequest.struct_class = Types::DeleteCidrCollectionRequest + + DeleteCidrCollectionResponse.struct_class = Types::DeleteCidrCollectionResponse + DeleteHealthCheckRequest.add_member(:health_check_id, Shapes::ShapeRef.new(shape: HealthCheckId, required: true, location: "uri", location_name: "HealthCheckId")) DeleteHealthCheckRequest.struct_class = Types::DeleteHealthCheckRequest @@ -672,7 +777,7 @@ module ClientApi GetAccountLimitResponse.add_member(:count, Shapes::ShapeRef.new(shape: UsageCount, required: true, location_name: "Count")) GetAccountLimitResponse.struct_class = Types::GetAccountLimitResponse - GetChangeRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "Id")) + GetChangeRequest.add_member(:id, Shapes::ShapeRef.new(shape: ChangeId, required: true, location: "uri", location_name: "Id")) GetChangeRequest.struct_class = Types::GetChangeRequest GetChangeResponse.add_member(:change_info, Shapes::ShapeRef.new(shape: ChangeInfo, required: true, location_name: "ChangeInfo")) @@ -954,6 +1059,33 @@ module ClientApi LinkedService.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description")) LinkedService.struct_class = Types::LinkedService + ListCidrBlocksRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "CidrCollectionId")) + ListCidrBlocksRequest.add_member(:location_name, Shapes::ShapeRef.new(shape: CidrLocationNameDefaultNotAllowed, location: "querystring", location_name: "location")) + ListCidrBlocksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nexttoken")) + ListCidrBlocksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxresults")) + ListCidrBlocksRequest.struct_class = Types::ListCidrBlocksRequest + + ListCidrBlocksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken")) + ListCidrBlocksResponse.add_member(:cidr_blocks, Shapes::ShapeRef.new(shape: CidrBlockSummaries, location_name: "CidrBlocks")) + ListCidrBlocksResponse.struct_class = Types::ListCidrBlocksResponse + + ListCidrCollectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nexttoken")) + ListCidrCollectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxresults")) + ListCidrCollectionsRequest.struct_class = Types::ListCidrCollectionsRequest + + ListCidrCollectionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken")) + ListCidrCollectionsResponse.add_member(:cidr_collections, Shapes::ShapeRef.new(shape: CollectionSummaries, location_name: "CidrCollections")) + ListCidrCollectionsResponse.struct_class = Types::ListCidrCollectionsResponse + + ListCidrLocationsRequest.add_member(:collection_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "CidrCollectionId")) + ListCidrLocationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nexttoken")) + ListCidrLocationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxresults")) + ListCidrLocationsRequest.struct_class = Types::ListCidrLocationsRequest + + ListCidrLocationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken")) + ListCidrLocationsResponse.add_member(:cidr_locations, Shapes::ShapeRef.new(shape: LocationSummaries, location_name: "CidrLocations")) + ListCidrLocationsResponse.struct_class = Types::ListCidrLocationsResponse + ListGeoLocationsRequest.add_member(:start_continent_code, Shapes::ShapeRef.new(shape: GeoLocationContinentCode, location: "querystring", location_name: "startcontinentcode")) ListGeoLocationsRequest.add_member(:start_country_code, Shapes::ShapeRef.new(shape: GeoLocationCountryCode, location: "querystring", location_name: "startcountrycode")) ListGeoLocationsRequest.add_member(:start_subdivision_code, Shapes::ShapeRef.new(shape: GeoLocationSubdivisionCode, location: "querystring", location_name: "startsubdivisioncode")) @@ -1139,9 +1271,20 @@ module ClientApi ListVPCAssociationAuthorizationsResponse.add_member(:vp_cs, Shapes::ShapeRef.new(shape: VPCs, required: true, location_name: "VPCs")) ListVPCAssociationAuthorizationsResponse.struct_class = Types::ListVPCAssociationAuthorizationsResponse + LocationSummaries.member = Shapes::ShapeRef.new(shape: LocationSummary) + + LocationSummary.add_member(:location_name, Shapes::ShapeRef.new(shape: CidrLocationNameDefaultAllowed, location_name: "LocationName")) + LocationSummary.struct_class = Types::LocationSummary + NoSuchChange.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message")) NoSuchChange.struct_class = Types::NoSuchChange + NoSuchCidrCollectionException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) + NoSuchCidrCollectionException.struct_class = Types::NoSuchCidrCollectionException + + NoSuchCidrLocationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) + NoSuchCidrLocationException.struct_class = Types::NoSuchCidrLocationException + NoSuchCloudWatchLogsLogGroup.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message")) NoSuchCloudWatchLogsLogGroup.struct_class = Types::NoSuchCloudWatchLogsLogGroup @@ -1208,6 +1351,7 @@ module ClientApi ResourceRecordSet.add_member(:alias_target, Shapes::ShapeRef.new(shape: AliasTarget, location_name: "AliasTarget")) ResourceRecordSet.add_member(:health_check_id, Shapes::ShapeRef.new(shape: HealthCheckId, location_name: "HealthCheckId")) ResourceRecordSet.add_member(:traffic_policy_instance_id, Shapes::ShapeRef.new(shape: TrafficPolicyInstanceId, location_name: "TrafficPolicyInstanceId")) + ResourceRecordSet.add_member(:cidr_routing_config, Shapes::ShapeRef.new(shape: CidrRoutingConfig, location_name: "CidrRoutingConfig")) ResourceRecordSet.struct_class = Types::ResourceRecordSet ResourceRecordSets.member = Shapes::ShapeRef.new(shape: ResourceRecordSet, location_name: "ResourceRecordSet") @@ -1431,6 +1575,25 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: PriorRequestNotComplete) end) + api.add_operation(:change_cidr_collection, Seahorse::Model::Operation.new.tap do |o| + o.name = "ChangeCidrCollection" + o.http_method = "POST" + o.http_request_uri = "/2013-04-01/cidrcollection/{CidrCollectionId}" + o.input = Shapes::ShapeRef.new(shape: ChangeCidrCollectionRequest, + location_name: "ChangeCidrCollectionRequest", + metadata: { + "xmlNamespace" => {"uri"=>"https://route53.amazonaws.com/doc/2013-04-01/"} + } + ) + o.output = Shapes::ShapeRef.new(shape: ChangeCidrCollectionResponse) + o.errors << Shapes::ShapeRef.new(shape: NoSuchCidrCollectionException) + o.errors << Shapes::ShapeRef.new(shape: CidrCollectionVersionMismatchException) + o.errors << Shapes::ShapeRef.new(shape: InvalidInput) + o.errors << Shapes::ShapeRef.new(shape: CidrBlockInUseException) + o.errors << Shapes::ShapeRef.new(shape: LimitsExceeded) + o.errors << Shapes::ShapeRef.new(shape: ConcurrentModification) + end) + api.add_operation(:change_resource_record_sets, Seahorse::Model::Operation.new.tap do |o| o.name = "ChangeResourceRecordSets" o.http_method = "POST" @@ -1467,6 +1630,23 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) end) + api.add_operation(:create_cidr_collection, Seahorse::Model::Operation.new.tap do |o| + o.name = "CreateCidrCollection" + o.http_method = "POST" + o.http_request_uri = "/2013-04-01/cidrcollection" + o.input = Shapes::ShapeRef.new(shape: CreateCidrCollectionRequest, + location_name: "CreateCidrCollectionRequest", + metadata: { + "xmlNamespace" => {"uri"=>"https://route53.amazonaws.com/doc/2013-04-01/"} + } + ) + o.output = Shapes::ShapeRef.new(shape: CreateCidrCollectionResponse) + o.errors << Shapes::ShapeRef.new(shape: LimitsExceeded) + o.errors << Shapes::ShapeRef.new(shape: InvalidInput) + o.errors << Shapes::ShapeRef.new(shape: CidrCollectionAlreadyExistsException) + o.errors << Shapes::ShapeRef.new(shape: ConcurrentModification) + end) + api.add_operation(:create_health_check, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateHealthCheck" o.http_method = "POST" @@ -1653,6 +1833,18 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: InvalidInput) end) + api.add_operation(:delete_cidr_collection, Seahorse::Model::Operation.new.tap do |o| + o.name = "DeleteCidrCollection" + o.http_method = "DELETE" + o.http_request_uri = "/2013-04-01/cidrcollection/{CidrCollectionId}" + o.input = Shapes::ShapeRef.new(shape: DeleteCidrCollectionRequest) + o.output = Shapes::ShapeRef.new(shape: DeleteCidrCollectionResponse) + o.errors << Shapes::ShapeRef.new(shape: NoSuchCidrCollectionException) + o.errors << Shapes::ShapeRef.new(shape: CidrCollectionInUseException) + o.errors << Shapes::ShapeRef.new(shape: InvalidInput) + o.errors << Shapes::ShapeRef.new(shape: ConcurrentModification) + end) + api.add_operation(:delete_health_check, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteHealthCheck" o.http_method = "DELETE" @@ -1982,6 +2174,54 @@ module ClientApi o.output = Shapes::ShapeRef.new(shape: GetTrafficPolicyInstanceCountResponse) end) + api.add_operation(:list_cidr_blocks, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListCidrBlocks" + o.http_method = "GET" + o.http_request_uri = "/2013-04-01/cidrcollection/{CidrCollectionId}/cidrblocks" + o.input = Shapes::ShapeRef.new(shape: ListCidrBlocksRequest) + o.output = Shapes::ShapeRef.new(shape: ListCidrBlocksResponse) + o.errors << Shapes::ShapeRef.new(shape: NoSuchCidrCollectionException) + o.errors << Shapes::ShapeRef.new(shape: NoSuchCidrLocationException) + o.errors << Shapes::ShapeRef.new(shape: InvalidInput) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) + end) + + api.add_operation(:list_cidr_collections, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListCidrCollections" + o.http_method = "GET" + o.http_request_uri = "/2013-04-01/cidrcollection" + o.input = Shapes::ShapeRef.new(shape: ListCidrCollectionsRequest) + o.output = Shapes::ShapeRef.new(shape: ListCidrCollectionsResponse) + o.errors << Shapes::ShapeRef.new(shape: InvalidInput) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) + end) + + api.add_operation(:list_cidr_locations, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListCidrLocations" + o.http_method = "GET" + o.http_request_uri = "/2013-04-01/cidrcollection/{CidrCollectionId}" + o.input = Shapes::ShapeRef.new(shape: ListCidrLocationsRequest) + o.output = Shapes::ShapeRef.new(shape: ListCidrLocationsResponse) + o.errors << Shapes::ShapeRef.new(shape: NoSuchCidrCollectionException) + o.errors << Shapes::ShapeRef.new(shape: InvalidInput) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) + end) + api.add_operation(:list_geo_locations, Seahorse::Model::Operation.new.tap do |o| o.name = "ListGeoLocations" o.http_method = "GET" diff --git a/gems/aws-sdk-route53/lib/aws-sdk-route53/errors.rb b/gems/aws-sdk-route53/lib/aws-sdk-route53/errors.rb index d65ce598d5c..54754acd0b5 100644 --- a/gems/aws-sdk-route53/lib/aws-sdk-route53/errors.rb +++ b/gems/aws-sdk-route53/lib/aws-sdk-route53/errors.rb @@ -27,6 +27,10 @@ module Aws::Route53 # See {Seahorse::Client::RequestContext} for more information. # # ## Error Classes + # * {CidrBlockInUseException} + # * {CidrCollectionAlreadyExistsException} + # * {CidrCollectionInUseException} + # * {CidrCollectionVersionMismatchException} # * {ConcurrentModification} # * {ConflictingDomainExists} # * {ConflictingTypes} @@ -64,6 +68,8 @@ module Aws::Route53 # * {LastVPCAssociation} # * {LimitsExceeded} # * {NoSuchChange} + # * {NoSuchCidrCollectionException} + # * {NoSuchCidrLocationException} # * {NoSuchCloudWatchLogsLogGroup} # * {NoSuchDelegationSet} # * {NoSuchGeoLocation} @@ -97,6 +103,66 @@ module Errors extend Aws::Errors::DynamicErrors + class CidrBlockInUseException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Route53::Types::CidrBlockInUseException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class CidrCollectionAlreadyExistsException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Route53::Types::CidrCollectionAlreadyExistsException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class CidrCollectionInUseException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Route53::Types::CidrCollectionInUseException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class CidrCollectionVersionMismatchException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Route53::Types::CidrCollectionVersionMismatchException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + class ConcurrentModification < ServiceError # @param [Seahorse::Client::RequestContext] context @@ -657,6 +723,36 @@ def message end end + class NoSuchCidrCollectionException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Route53::Types::NoSuchCidrCollectionException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + + class NoSuchCidrLocationException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Route53::Types::NoSuchCidrLocationException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + class NoSuchCloudWatchLogsLogGroup < ServiceError # @param [Seahorse::Client::RequestContext] context diff --git a/gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb b/gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb index 31de657c54d..877e770ea6d 100644 --- a/gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb +++ b/gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb @@ -644,6 +644,10 @@ class AssociateVPCWithHostedZoneResponse < Struct.new( # }, # health_check_id: "HealthCheckId", # traffic_policy_instance_id: "TrafficPolicyInstanceId", + # cidr_routing_config: { + # collection_id: "UUID", # required + # location_name: "CidrLocationNameDefaultAllowed", # required + # }, # }, # } # @@ -722,6 +726,10 @@ class Change < Struct.new( # }, # health_check_id: "HealthCheckId", # traffic_policy_instance_id: "TrafficPolicyInstanceId", + # cidr_routing_config: { + # collection_id: "UUID", # required + # location_name: "CidrLocationNameDefaultAllowed", # required + # }, # }, # }, # ], @@ -745,6 +753,74 @@ class ChangeBatch < Struct.new( include Aws::Structure end + # @note When making an API call, you may pass ChangeCidrCollectionRequest + # data as a hash: + # + # { + # id: "UUID", # required + # collection_version: 1, + # changes: [ # required + # { + # location_name: "CidrLocationNameDefaultNotAllowed", # required + # action: "PUT", # required, accepts PUT, DELETE_IF_EXISTS + # cidr_list: ["Cidr"], # required + # }, + # ], + # } + # + # @!attribute [rw] id + # The UUID of the CIDR collection to update. + # @return [String] + # + # @!attribute [rw] collection_version + # A sequential counter that Amazon Route 53 sets to 1 when you create + # a collection and increments it by 1 each time you update the + # collection. + # + # We recommend that you use `ListCidrCollection` to get the current + # value of `CollectionVersion` for the collection that you want to + # update, and then include that value with the change request. This + # prevents Route 53 from overwriting an intervening update: + # + # * If the value in the request matches the value of + # `CollectionVersion` in the collection, Route 53 updates the + # collection. + # + # * If the value of `CollectionVersion` in the collection is greater + # than the value in the request, the collection was changed after + # you got the version number. Route 53 does not update the + # collection, and it returns a `CidrCollectionVersionMismatch` + # error. + # @return [Integer] + # + # @!attribute [rw] changes + # Information about changes to a CIDR collection. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeCidrCollectionRequest AWS API Documentation + # + class ChangeCidrCollectionRequest < Struct.new( + :id, + :collection_version, + :changes) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] id + # The ID that is returned by `ChangeCidrCollection`. You can use it as + # input to `GetChange` to see if a CIDR collection change has + # propagated or not. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeCidrCollectionResponse AWS API Documentation + # + class ChangeCidrCollectionResponse < Struct.new( + :id) + SENSITIVE = [] + include Aws::Structure + end + # A complex type that describes change information about changes made to # your hosted zone. # @@ -827,6 +903,10 @@ class ChangeInfo < Struct.new( # }, # health_check_id: "HealthCheckId", # traffic_policy_instance_id: "TrafficPolicyInstanceId", + # cidr_routing_config: { + # collection_id: "UUID", # required + # location_name: "CidrLocationNameDefaultAllowed", # required + # }, # }, # }, # ], @@ -936,6 +1016,176 @@ class ChangeTagsForResourceRequest < Struct.new( # class ChangeTagsForResourceResponse < Aws::EmptyStructure; end + # This CIDR block is already in use. + # + # @!attribute [rw] message + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CidrBlockInUseException AWS API Documentation + # + class CidrBlockInUseException < Struct.new( + :message) + SENSITIVE = [] + include Aws::Structure + end + + # A complex type that lists the CIDR blocks. + # + # @!attribute [rw] cidr_block + # Value for the CIDR block. + # @return [String] + # + # @!attribute [rw] location_name + # The location name of the CIDR block. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CidrBlockSummary AWS API Documentation + # + class CidrBlockSummary < Struct.new( + :cidr_block, + :location_name) + SENSITIVE = [] + include Aws::Structure + end + + # A complex type that identifies a CIDR collection. + # + # @!attribute [rw] arn + # The ARN of the collection. Can be used to reference the collection + # in IAM policy or in another Amazon Web Services account. + # @return [String] + # + # @!attribute [rw] id + # The unique ID of the CIDR collection. + # @return [String] + # + # @!attribute [rw] name + # The name of a CIDR collection. + # @return [String] + # + # @!attribute [rw] version + # A sequential counter that Route 53 sets to 1 when you create a CIDR + # collection and increments by 1 each time you update settings for the + # CIDR collection. + # @return [Integer] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CidrCollection AWS API Documentation + # + class CidrCollection < Struct.new( + :arn, + :id, + :name, + :version) + SENSITIVE = [] + include Aws::Structure + end + + # A CIDR collection with this name and a different caller reference + # already exists in this account. + # + # @!attribute [rw] message + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CidrCollectionAlreadyExistsException AWS API Documentation + # + class CidrCollectionAlreadyExistsException < Struct.new( + :message) + SENSITIVE = [] + include Aws::Structure + end + + # A complex type that contains information about the CIDR collection + # change. + # + # @note When making an API call, you may pass CidrCollectionChange + # data as a hash: + # + # { + # location_name: "CidrLocationNameDefaultNotAllowed", # required + # action: "PUT", # required, accepts PUT, DELETE_IF_EXISTS + # cidr_list: ["Cidr"], # required + # } + # + # @!attribute [rw] location_name + # Name of the location that is associated with the CIDR collection. + # @return [String] + # + # @!attribute [rw] action + # CIDR collection change action. + # @return [String] + # + # @!attribute [rw] cidr_list + # List of CIDR blocks. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CidrCollectionChange AWS API Documentation + # + class CidrCollectionChange < Struct.new( + :location_name, + :action, + :cidr_list) + SENSITIVE = [] + include Aws::Structure + end + + # This CIDR collection is in use, and isn't empty. + # + # @!attribute [rw] message + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CidrCollectionInUseException AWS API Documentation + # + class CidrCollectionInUseException < Struct.new( + :message) + SENSITIVE = [] + include Aws::Structure + end + + # The CIDR collection version you provided, doesn't match the one in + # the `ListCidrCollections` operation. + # + # @!attribute [rw] message + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CidrCollectionVersionMismatchException AWS API Documentation + # + class CidrCollectionVersionMismatchException < Struct.new( + :message) + SENSITIVE = [] + include Aws::Structure + end + + # The object that is specified in resource record set object when you + # are linking a resource record set to a CIDR location. + # + # A `LocationName` with an asterisk “*” can be used to create a default + # CIDR record. `CollectionId` is still required for default record. + # + # @note When making an API call, you may pass CidrRoutingConfig + # data as a hash: + # + # { + # collection_id: "UUID", # required + # location_name: "CidrLocationNameDefaultAllowed", # required + # } + # + # @!attribute [rw] collection_id + # The CIDR collection ID. + # @return [String] + # + # @!attribute [rw] location_name + # The CIDR collection location name. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CidrRoutingConfig AWS API Documentation + # + class CidrRoutingConfig < Struct.new( + :collection_id, + :location_name) + SENSITIVE = [] + include Aws::Structure + end + # A complex type that contains information about the CloudWatch alarm # that Amazon Route 53 is monitoring for this health check. # @@ -1005,6 +1255,42 @@ class CloudWatchAlarmConfiguration < Struct.new( include Aws::Structure end + # A complex type that is an entry in an [CidrCollection][1] array. + # + # + # + # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_CidrCollection.html + # + # @!attribute [rw] arn + # The ARN of the collection summary. Can be used to reference the + # collection in IAM policy or cross-account. + # @return [String] + # + # @!attribute [rw] id + # Unique ID for the CIDR collection. + # @return [String] + # + # @!attribute [rw] name + # The name of a CIDR collection. + # @return [String] + # + # @!attribute [rw] version + # A sequential counter that Route 53 sets to 1 when you create a CIDR + # collection and increments by 1 each time you update settings for the + # CIDR collection. + # @return [Integer] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CollectionSummary AWS API Documentation + # + class CollectionSummary < Struct.new( + :arn, + :id, + :name, + :version) + SENSITIVE = [] + include Aws::Structure + end + # Another user submitted a request to create, update, or delete the # object at the same time that you did. Retry the request. # @@ -1070,6 +1356,51 @@ class ConflictingTypes < Struct.new( include Aws::Structure end + # @note When making an API call, you may pass CreateCidrCollectionRequest + # data as a hash: + # + # { + # name: "CollectionName", # required + # caller_reference: "CidrNonce", # required + # } + # + # @!attribute [rw] name + # A unique identifier for the account that can be used to reference + # the collection from other API calls. + # @return [String] + # + # @!attribute [rw] caller_reference + # A client-specific token that allows requests to be securely retried + # so that the intended outcome will only occur once, retries receive a + # similar response, and there are no additional edge cases to handle. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateCidrCollectionRequest AWS API Documentation + # + class CreateCidrCollectionRequest < Struct.new( + :name, + :caller_reference) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] collection + # A complex type that contains information about the CIDR collection. + # @return [Types::CidrCollection] + # + # @!attribute [rw] location + # A unique URL that represents the location for the CIDR collection. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateCidrCollectionResponse AWS API Documentation + # + class CreateCidrCollectionResponse < Struct.new( + :collection, + :location) + SENSITIVE = [] + include Aws::Structure + end + # A complex type that contains the health check request information. # # @note When making an API call, you may pass CreateHealthCheckRequest @@ -1183,13 +1514,13 @@ class CreateHealthCheckResponse < Struct.new( # @!attribute [rw] name # The name of the domain. Specify a fully qualified domain name, for # example, *www.example.com*. The trailing dot is optional; Amazon - # Route 53 assumes that the domain name is fully qualified. This means - # that Route 53 treats *www.example.com* (without a trailing dot) and + # Route 53 assumes that the domain name is fully qualified. This means + # that Route 53 treats *www.example.com* (without a trailing dot) and # *www.example.com.* (with a trailing dot) as identical. # # If you're creating a public hosted zone, this is the name you have # registered with your DNS registrar. If your domain name is - # registered with a registrar other than Route 53, change the name + # registered with a registrar other than Route 53, change the name # servers for your domain to the set of `NameServers` that # `CreateHostedZone` returns in `DelegationSet`. # @return [String] @@ -1233,7 +1564,7 @@ class CreateHealthCheckResponse < Struct.new( # # @!attribute [rw] delegation_set_id # If you want to associate a reusable delegation set with this hosted - # zone, the ID that Amazon Route 53 assigned to the reusable + # zone, the ID that Amazon Route 53 assigned to the reusable # delegation set when you created it. For more information about # reusable delegation sets, see [CreateReusableDelegationSet][1]. # @@ -1968,6 +2299,29 @@ class DelegationSetNotReusable < Struct.new( include Aws::Structure end + # @note When making an API call, you may pass DeleteCidrCollectionRequest + # data as a hash: + # + # { + # id: "UUID", # required + # } + # + # @!attribute [rw] id + # The UUID of the collection to delete. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteCidrCollectionRequest AWS API Documentation + # + class DeleteCidrCollectionRequest < Struct.new( + :id) + SENSITIVE = [] + include Aws::Structure + end + + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteCidrCollectionResponse AWS API Documentation + # + class DeleteCidrCollectionResponse < Aws::EmptyStructure; end + # This action deletes a health check. # # @note When making an API call, you may pass DeleteHealthCheckRequest @@ -2563,7 +2917,7 @@ class GetAccountLimitResponse < Struct.new( # data as a hash: # # { - # id: "ResourceId", # required + # id: "ChangeId", # required # } # # @!attribute [rw] id @@ -4539,21 +4893,14 @@ class LastVPCAssociation < Struct.new( include Aws::Structure end - # This operation can't be completed either because the current account - # has reached the limit on reusable delegation sets that it can create - # or because you've reached the limit on the number of Amazon VPCs that - # you can associate with a private hosted zone. To get the current limit - # on the number of reusable delegation sets, see [GetAccountLimit][1]. - # To get the current limit on the number of Amazon VPCs that you can - # associate with a private hosted zone, see [GetHostedZoneLimit][2]. To - # request a higher limit, [create a case][3] with the Amazon Web - # Services Support Center. + # This operation can't be completed because the current account has + # reached the limit on the resource you are trying to create. To request + # a higher limit, [create a case][1] with the Amazon Web Services + # Support Center. # # # - # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html - # [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetHostedZoneLimit.html - # [3]: http://aws.amazon.com/route53-request + # [1]: http://aws.amazon.com/route53-request # # @!attribute [rw] message # @return [String] @@ -4593,6 +4940,173 @@ class LinkedService < Struct.new( include Aws::Structure end + # @note When making an API call, you may pass ListCidrBlocksRequest + # data as a hash: + # + # { + # collection_id: "UUID", # required + # location_name: "CidrLocationNameDefaultNotAllowed", + # next_token: "PaginationToken", + # max_results: "MaxResults", + # } + # + # @!attribute [rw] collection_id + # The UUID of the CIDR collection. + # @return [String] + # + # @!attribute [rw] location_name + # The name of the CIDR collection location. + # @return [String] + # + # @!attribute [rw] next_token + # An opaque pagination token to indicate where the service is to begin + # enumerating results. + # @return [String] + # + # @!attribute [rw] max_results + # Maximum number of results you want returned. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListCidrBlocksRequest AWS API Documentation + # + class ListCidrBlocksRequest < Struct.new( + :collection_id, + :location_name, + :next_token, + :max_results) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] next_token + # An opaque pagination token to indicate where the service is to begin + # enumerating results. + # + # If no value is provided, the listing of results starts from the + # beginning. + # @return [String] + # + # @!attribute [rw] cidr_blocks + # A complex type that contains information about the CIDR blocks. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListCidrBlocksResponse AWS API Documentation + # + class ListCidrBlocksResponse < Struct.new( + :next_token, + :cidr_blocks) + SENSITIVE = [] + include Aws::Structure + end + + # @note When making an API call, you may pass ListCidrCollectionsRequest + # data as a hash: + # + # { + # next_token: "PaginationToken", + # max_results: "MaxResults", + # } + # + # @!attribute [rw] next_token + # An opaque pagination token to indicate where the service is to begin + # enumerating results. + # + # If no value is provided, the listing of results starts from the + # beginning. + # @return [String] + # + # @!attribute [rw] max_results + # The maximum number of CIDR collections to return in the response. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListCidrCollectionsRequest AWS API Documentation + # + class ListCidrCollectionsRequest < Struct.new( + :next_token, + :max_results) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] next_token + # An opaque pagination token to indicate where the service is to begin + # enumerating results. + # + # If no value is provided, the listing of results starts from the + # beginning. + # @return [String] + # + # @!attribute [rw] cidr_collections + # A complex type with information about the CIDR collection. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListCidrCollectionsResponse AWS API Documentation + # + class ListCidrCollectionsResponse < Struct.new( + :next_token, + :cidr_collections) + SENSITIVE = [] + include Aws::Structure + end + + # @note When making an API call, you may pass ListCidrLocationsRequest + # data as a hash: + # + # { + # collection_id: "UUID", # required + # next_token: "PaginationToken", + # max_results: "MaxResults", + # } + # + # @!attribute [rw] collection_id + # The CIDR collection ID. + # @return [String] + # + # @!attribute [rw] next_token + # An opaque pagination token to indicate where the service is to begin + # enumerating results. + # + # If no value is provided, the listing of results starts from the + # beginning. + # @return [String] + # + # @!attribute [rw] max_results + # The maximum number of CIDR collection locations to return in the + # response. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListCidrLocationsRequest AWS API Documentation + # + class ListCidrLocationsRequest < Struct.new( + :collection_id, + :next_token, + :max_results) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] next_token + # An opaque pagination token to indicate where the service is to begin + # enumerating results. + # + # If no value is provided, the listing of results starts from the + # beginning. + # @return [String] + # + # @!attribute [rw] cidr_locations + # A complex type that contains information about the list of CIDR + # locations. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListCidrLocationsResponse AWS API Documentation + # + class ListCidrLocationsResponse < Struct.new( + :next_token, + :cidr_locations) + SENSITIVE = [] + include Aws::Structure + end + # A request to get a list of geographic locations that Amazon Route 53 # supports for geolocation resource record sets. # @@ -6147,6 +6661,20 @@ class ListVPCAssociationAuthorizationsResponse < Struct.new( include Aws::Structure end + # A complex type that contains information about the CIDR location. + # + # @!attribute [rw] location_name + # A string that specifies a location name. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/LocationSummary AWS API Documentation + # + class LocationSummary < Struct.new( + :location_name) + SENSITIVE = [] + include Aws::Structure + end + # A change with the specified change ID does not exist. # # @!attribute [rw] message @@ -6160,6 +6688,33 @@ class NoSuchChange < Struct.new( include Aws::Structure end + # The CIDR collection you specified, doesn't exist. + # + # @!attribute [rw] message + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/NoSuchCidrCollectionException AWS API Documentation + # + class NoSuchCidrCollectionException < Struct.new( + :message) + SENSITIVE = [] + include Aws::Structure + end + + # The CIDR collection location doesn't match any locations in your + # account. + # + # @!attribute [rw] message + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/NoSuchCidrLocationException AWS API Documentation + # + class NoSuchCidrLocationException < Struct.new( + :message) + SENSITIVE = [] + include Aws::Structure + end + # There is no CloudWatch Logs log group with the specified ARN. # # @!attribute [rw] message @@ -6442,6 +6997,10 @@ class ResourceRecord < Struct.new( # }, # health_check_id: "HealthCheckId", # traffic_policy_instance_id: "TrafficPolicyInstanceId", + # cidr_routing_config: { + # collection_id: "UUID", # required + # location_name: "CidrLocationNameDefaultAllowed", # required + # }, # } # # @!attribute [rw] name @@ -6987,6 +7546,15 @@ class ResourceRecord < Struct.new( # use. # @return [String] # + # @!attribute [rw] cidr_routing_config + # The object that is specified in resource record set object when you + # are linking a resource record set to a CIDR location. + # + # A `LocationName` with an asterisk “*” can be used to create a + # default CIDR record. `CollectionId` is still required for default + # record. + # @return [Types::CidrRoutingConfig] + # # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ResourceRecordSet AWS API Documentation # class ResourceRecordSet < Struct.new( @@ -7002,7 +7570,8 @@ class ResourceRecordSet < Struct.new( :resource_records, :alias_target, :health_check_id, - :traffic_policy_instance_id) + :traffic_policy_instance_id, + :cidr_routing_config) SENSITIVE = [] include Aws::Structure end