diff --git a/CHANGELOG.md b/CHANGELOG.md index 31dbb270390..d13706e2876 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +Release v1.35.9 (2020-10-16) +=== + +### Service Client Updates +* `service/medialive`: Updates service API, documentation, and paginators + * The AWS Elemental MediaLive APIs and SDKs now support the ability to transfer the ownership of MediaLive Link devices across AWS accounts. +* `service/organizations`: Updates service documentation + * Documentation updates for AWS Organizations. + +### SDK Bugs +* `s3control`: Fixes bug in SDK that caused GetAccessPointPolicy, DeleteAccessPointPolicy, and PutAccessPointPolicy operations to not route properly for S3 on Outposts. ([#3599](https://github.com/aws/aws-sdk-go/pull/3599)) + * Fixes [#3598](https://github.com/aws/aws-sdk-go/issues/3598). + Release v1.35.8 (2020-10-15) === diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index 5dccf1a2d36..8a1927a39ca 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -3,5 +3,3 @@ ### SDK Enhancements ### SDK Bugs -* `s3control`: Fixes bug in SDK that caused GetAccessPointPolicy, DeleteAccessPointPolicy, and PutAccessPointPolicy operations to not route properly for S3 on Outposts. ([#3599](https://github.com/aws/aws-sdk-go/pull/3599)) - * Fixes [#3598](https://github.com/aws/aws-sdk-go/issues/3598). diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 8b9fce3636f..4e5bdbb75dd 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -3098,7 +3098,12 @@ var awsPartition = partition{ "health": service{ Endpoints: endpoints{ - "us-east-1": endpoint{}, + "fips-us-east-2": endpoint{ + Hostname: "health-fips.us-east-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-2", + }, + }, }, }, "honeycode": service{ @@ -7123,6 +7128,12 @@ var awscnPartition = partition{ "cn-northwest-1": endpoint{}, }, }, + "lakeformation": service{ + + Endpoints: endpoints{ + "cn-north-1": endpoint{}, + }, + }, "lambda": service{ Endpoints: endpoints{ @@ -7501,8 +7512,18 @@ var awsusgovPartition = partition{ "acm": service{ Endpoints: endpoints{ - "us-gov-east-1": endpoint{}, - "us-gov-west-1": endpoint{}, + "us-gov-east-1": endpoint{ + Hostname: "acm.us-gov-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-east-1", + }, + }, + "us-gov-west-1": endpoint{ + Hostname: "acm.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, }, }, "acm-pca": service{ @@ -8505,12 +8526,17 @@ var awsusgovPartition = partition{ }, Endpoints: endpoints{ "fips-us-gov-west-1": endpoint{ + Hostname: "pinpoint-fips.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, + "us-gov-west-1": endpoint{ Hostname: "pinpoint.us-gov-west-1.amazonaws.com", CredentialScope: credentialScope{ Region: "us-gov-west-1", }, }, - "us-gov-west-1": endpoint{}, }, }, "polly": service{ diff --git a/aws/version.go b/aws/version.go index d30eed81164..00e68807e9d 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.35.8" +const SDKVersion = "1.35.9" diff --git a/models/apis/medialive/2017-10-14/api-2.json b/models/apis/medialive/2017-10-14/api-2.json index bef51c95d0e..003ef6acd10 100644 --- a/models/apis/medialive/2017-10-14/api-2.json +++ b/models/apis/medialive/2017-10-14/api-2.json @@ -12,6 +12,49 @@ "jsonVersion": "1.1" }, "operations": { + "AcceptInputDeviceTransfer": { + "name": "AcceptInputDeviceTransfer", + "http": { + "method": "POST", + "requestUri": "/prod/inputDevices/{inputDeviceId}/accept", + "responseCode": 200 + }, + "input": { + "shape": "AcceptInputDeviceTransferRequest" + }, + "output": { + "shape": "AcceptInputDeviceTransferResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "UnprocessableEntityException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "BadGatewayException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "GatewayTimeoutException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } + ] + }, "BatchDelete": { "name": "BatchDelete", "http": { @@ -172,6 +215,49 @@ } ] }, + "CancelInputDeviceTransfer": { + "name": "CancelInputDeviceTransfer", + "http": { + "method": "POST", + "requestUri": "/prod/inputDevices/{inputDeviceId}/cancel", + "responseCode": 200 + }, + "input": { + "shape": "CancelInputDeviceTransferRequest" + }, + "output": { + "shape": "CancelInputDeviceTransferResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "UnprocessableEntityException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "BadGatewayException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "GatewayTimeoutException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } + ] + }, "CreateChannel": { "name": "CreateChannel", "http": { @@ -1088,6 +1174,43 @@ } ] }, + "ListInputDeviceTransfers": { + "name": "ListInputDeviceTransfers", + "http": { + "method": "GET", + "requestUri": "/prod/inputDeviceTransfers", + "responseCode": 200 + }, + "input": { + "shape": "ListInputDeviceTransfersRequest" + }, + "output": { + "shape": "ListInputDeviceTransfersResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "UnprocessableEntityException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "BadGatewayException" + }, + { + "shape": "GatewayTimeoutException" + }, + { + "shape": "TooManyRequestsException" + } + ] + }, "ListInputDevices": { "name": "ListInputDevices", "http": { @@ -1397,6 +1520,49 @@ } ] }, + "RejectInputDeviceTransfer": { + "name": "RejectInputDeviceTransfer", + "http": { + "method": "POST", + "requestUri": "/prod/inputDevices/{inputDeviceId}/reject", + "responseCode": 200 + }, + "input": { + "shape": "RejectInputDeviceTransferRequest" + }, + "output": { + "shape": "RejectInputDeviceTransferResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "UnprocessableEntityException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "BadGatewayException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "GatewayTimeoutException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } + ] + }, "StartChannel": { "name": "StartChannel", "http": { @@ -1557,6 +1723,49 @@ } ] }, + "TransferInputDevice": { + "name": "TransferInputDevice", + "http": { + "method": "POST", + "requestUri": "/prod/inputDevices/{inputDeviceId}/transfer", + "responseCode": 200 + }, + "input": { + "shape": "TransferInputDeviceRequest" + }, + "output": { + "shape": "TransferInputDeviceResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "UnprocessableEntityException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "BadGatewayException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "GatewayTimeoutException" + }, + { + "shape": "TooManyRequestsException" + }, + { + "shape": "ConflictException" + } + ] + }, "UpdateChannel": { "name": "UpdateChannel", "http": { @@ -2045,6 +2254,24 @@ } } }, + "AcceptInputDeviceTransferRequest": { + "type": "structure", + "members": { + "InputDeviceId": { + "shape": "__string", + "location": "uri", + "locationName": "inputDeviceId" + } + }, + "required": [ + "InputDeviceId" + ] + }, + "AcceptInputDeviceTransferResponse": { + "type": "structure", + "members": { + } + }, "AccessDenied": { "type": "structure", "members": { @@ -2968,6 +3195,24 @@ "SCALED" ] }, + "CancelInputDeviceTransferRequest": { + "type": "structure", + "members": { + "InputDeviceId": { + "shape": "__string", + "location": "uri", + "locationName": "inputDeviceId" + } + }, + "required": [ + "InputDeviceId" + ] + }, + "CancelInputDeviceTransferResponse": { + "type": "structure", + "members": { + } + }, "CaptionDescription": { "type": "structure", "members": { @@ -7153,6 +7398,13 @@ } } }, + "InputDeviceTransferType": { + "type": "string", + "enum": [ + "OUTGOING", + "INCOMING" + ] + }, "InputDeviceType": { "type": "string", "enum": [ @@ -7631,6 +7883,55 @@ } } }, + "ListInputDeviceTransfersRequest": { + "type": "structure", + "members": { + "MaxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults" + }, + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken" + }, + "TransferType": { + "shape": "__string", + "location": "querystring", + "locationName": "transferType" + } + }, + "required": [ + "TransferType" + ] + }, + "ListInputDeviceTransfersResponse": { + "type": "structure", + "members": { + "InputDeviceTransfers": { + "shape": "__listOfTransferringInputDeviceSummary", + "locationName": "inputDeviceTransfers" + }, + "NextToken": { + "shape": "__string", + "locationName": "nextToken" + } + } + }, + "ListInputDeviceTransfersResultModel": { + "type": "structure", + "members": { + "InputDeviceTransfers": { + "shape": "__listOfTransferringInputDeviceSummary", + "locationName": "inputDeviceTransfers" + }, + "NextToken": { + "shape": "__string", + "locationName": "nextToken" + } + } + }, "ListInputDevicesRequest": { "type": "structure", "members": { @@ -9614,6 +9915,24 @@ "members": { } }, + "RejectInputDeviceTransferRequest": { + "type": "structure", + "members": { + "InputDeviceId": { + "shape": "__string", + "location": "uri", + "locationName": "inputDeviceId" + } + }, + "required": [ + "InputDeviceId" + ] + }, + "RejectInputDeviceTransferResponse": { + "type": "structure", + "members": { + } + }, "RemixSettings": { "type": "structure", "members": { @@ -10840,6 +11159,15 @@ "STRENGTH_16" ] }, + "ThumbnailData": { + "type": "structure", + "members": { + "Body": { + "shape": "__string", + "locationName": "body" + } + } + }, "TimecodeConfig": { "type": "structure", "members": { @@ -10877,6 +11205,66 @@ "httpStatusCode": 429 } }, + "TransferInputDevice": { + "type": "structure", + "members": { + "TargetCustomerId": { + "shape": "__string", + "locationName": "targetCustomerId" + }, + "TransferMessage": { + "shape": "__string", + "locationName": "transferMessage" + } + } + }, + "TransferInputDeviceRequest": { + "type": "structure", + "members": { + "InputDeviceId": { + "shape": "__string", + "location": "uri", + "locationName": "inputDeviceId" + }, + "TargetCustomerId": { + "shape": "__string", + "locationName": "targetCustomerId" + }, + "TransferMessage": { + "shape": "__string", + "locationName": "transferMessage" + } + }, + "required": [ + "InputDeviceId" + ] + }, + "TransferInputDeviceResponse": { + "type": "structure", + "members": { + } + }, + "TransferringInputDeviceSummary": { + "type": "structure", + "members": { + "Id": { + "shape": "__string", + "locationName": "id" + }, + "Message": { + "shape": "__string", + "locationName": "message" + }, + "TargetCustomerId": { + "shape": "__string", + "locationName": "targetCustomerId" + }, + "TransferType": { + "shape": "InputDeviceTransferType", + "locationName": "transferType" + } + } + }, "TtmlDestinationSettings": { "type": "structure", "members": { @@ -12161,6 +12549,12 @@ "shape": "Scte35Descriptor" } }, + "__listOfTransferringInputDeviceSummary": { + "type": "list", + "member": { + "shape": "TransferringInputDeviceSummary" + } + }, "__listOfValidationError": { "type": "list", "member": { diff --git a/models/apis/medialive/2017-10-14/docs-2.json b/models/apis/medialive/2017-10-14/docs-2.json index b5a72a83bd9..a74fe003b9b 100644 --- a/models/apis/medialive/2017-10-14/docs-2.json +++ b/models/apis/medialive/2017-10-14/docs-2.json @@ -2,10 +2,12 @@ "version": "2.0", "service": "API for AWS Elemental MediaLive", "operations": { + "AcceptInputDeviceTransfer": "Accept an incoming input device transfer. The ownership of the device will transfer to your AWS account.", "BatchDelete": "Starts delete of resources.", "BatchStart": "Starts existing resources", "BatchStop": "Stops running resources", "BatchUpdateSchedule": "Update a channel schedule", + "CancelInputDeviceTransfer": "Cancel an input device transfer that you have requested.", "CreateChannel": "Creates a new channel", "CreateInput": "Create an input", "CreateInputSecurityGroup": "Creates a Input Security Group", @@ -31,6 +33,7 @@ "DescribeReservation": "Get details for a reservation.", "DescribeSchedule": "Get a channel schedule", "ListChannels": "Produces list of channels that have been created", + "ListInputDeviceTransfers": "List input devices that are currently being transferred. List input devices that you are transferring from your AWS account or input devices that another AWS account is transferring to you.", "ListInputDevices": "List input devices", "ListInputSecurityGroups": "Produces a list of Input Security Groups for an account", "ListInputs": "Produces list of inputs that have been created", @@ -40,10 +43,12 @@ "ListReservations": "List purchased reservations.", "ListTagsForResource": "Produces list of tags that have been created for a resource", "PurchaseOffering": "Purchase an offering and create a reservation.", + "RejectInputDeviceTransfer": "Reject the transfer of the specified input device to your AWS account.", "StartChannel": "Starts an existing channel", "StartMultiplex": "Start (run) the multiplex. Starting the multiplex does not start the channels. You must explicitly start each channel.", "StopChannel": "Stops a running channel", "StopMultiplex": "Stops a running multiplex. If the multiplex isn't running, this action has no effect.", + "TransferInputDevice": "Start an input device transfer to another AWS account. After you make the request, the other account must accept or reject the transfer.", "UpdateChannel": "Updates a channel.", "UpdateChannelClass": "Changes the class of the channel.", "UpdateInput": "Updates an input.", @@ -1605,6 +1610,12 @@ "__listOfInputDeviceSummary$member": null } }, + "InputDeviceTransferType": { + "base": "The type of device transfer. INCOMING for an input device that is being transferred to you, OUTGOING for an input device that you are transferring to another AWS account.", + "refs": { + "TransferringInputDeviceSummary$TransferType": "The type (direction) of the input device transfer." + } + }, "InputDeviceType": { "base": "The type of the input device. For an AWS Elemental Link device that outputs resolutions up to 1080, choose \"HD\".", "refs": { @@ -1830,6 +1841,11 @@ "refs": { } }, + "ListInputDeviceTransfersResultModel": { + "base": "The list of input devices in the transferred state. The recipient hasn't yet accepted or rejected the transfer.", + "refs": { + } + }, "ListInputDevicesResultModel": { "base": "The list of input devices owned by the AWS account.", "refs": { @@ -2861,6 +2877,11 @@ "TemporalFilterSettings$Strength": "Choose a filter strength. We recommend a strength of 1 or 2. A higher strength might take out good information, resulting in an image that is overly soft." } }, + "ThumbnailData": { + "base": "The binary data for the thumbnail that the Link device has most recently sent to MediaLive.", + "refs": { + } + }, "TimecodeConfig": { "base": "Timecode Config", "refs": { @@ -2878,6 +2899,17 @@ "refs": { } }, + "TransferInputDevice": { + "base": "The transfer details of the input device.", + "refs": { + } + }, + "TransferringInputDeviceSummary": { + "base": "Details about the input device that is being transferred.", + "refs": { + "__listOfTransferringInputDeviceSummary$member": null + } + }, "TtmlDestinationSettings": { "base": "Ttml Destination Settings", "refs": { @@ -3829,6 +3861,12 @@ "Scte35TimeSignalScheduleActionSettings$Scte35Descriptors": "The list of SCTE-35 descriptors accompanying the SCTE-35 time_signal." } }, + "__listOfTransferringInputDeviceSummary": { + "base": null, + "refs": { + "ListInputDeviceTransfersResultModel$InputDeviceTransfers": "The list of devices that you are transferring or are being transferred to you." + } + }, "__listOfValidationError": { "base": null, "refs": { @@ -4013,6 +4051,7 @@ "InvalidRequest$Message": null, "LimitExceeded$Message": null, "ListChannelsResultModel$NextToken": null, + "ListInputDeviceTransfersResultModel$NextToken": "A token to get additional list results.", "ListInputDevicesResultModel$NextToken": "A token to get additional list results.", "ListInputSecurityGroupsResultModel$NextToken": null, "ListInputsResultModel$NextToken": null, @@ -4098,6 +4137,12 @@ "StopTimecode$Timecode": "The timecode for the frame where you want to stop the clip. Optional; if not specified, the clip continues to the end of the file. Enter the timecode as HH:MM:SS:FF or HH:MM:SS;FF.", "Tags$member": null, "TeletextSourceSettings$PageNumber": "Specifies the teletext page number within the data stream from which to extract captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should be specified as a hexadecimal string with no \"0x\" prefix.", + "ThumbnailData$Body": "The binary data for the thumbnail that the Link device has most recently sent to MediaLive.", + "TransferInputDevice$TargetCustomerId": "The AWS account ID (12 digits) for the recipient of the device transfer.", + "TransferInputDevice$TransferMessage": "An optional message for the recipient. Maximum 280 characters.", + "TransferringInputDeviceSummary$Id": "The unique ID of the input device.", + "TransferringInputDeviceSummary$Message": "The optional message that the sender has attached to the transfer.", + "TransferringInputDeviceSummary$TargetCustomerId": "The AWS account ID for the recipient of the input device transfer.", "UpdateChannel$Name": "The name of the channel.", "UpdateChannel$RoleArn": "An optional Amazon Resource Name (ARN) of the role to assume when running the Channel. If you do not specify this on an update call but the role was previously set that role will be removed.", "UpdateInput$Name": "Name of the input.", diff --git a/models/apis/medialive/2017-10-14/paginators-1.json b/models/apis/medialive/2017-10-14/paginators-1.json index dafc70dc02c..a01ca8f87c7 100644 --- a/models/apis/medialive/2017-10-14/paginators-1.json +++ b/models/apis/medialive/2017-10-14/paginators-1.json @@ -53,6 +53,12 @@ "output_token": "NextToken", "limit_key": "MaxResults", "result_key": "InputDevices" + }, + "ListInputDeviceTransfers": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "InputDeviceTransfers" } } } diff --git a/models/apis/organizations/2016-11-28/docs-2.json b/models/apis/organizations/2016-11-28/docs-2.json index 0175d2ff19c..58a5423f593 100644 --- a/models/apis/organizations/2016-11-28/docs-2.json +++ b/models/apis/organizations/2016-11-28/docs-2.json @@ -3,10 +3,10 @@ "service": "AWS Organizations", "operations": { "AcceptHandshake": "

Sends a response to the originator of a handshake agreeing to the action proposed by the handshake request.

This operation can be called only by the following principals when they also have the relevant IAM permissions:

After you accept a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that, it's deleted.

", - "AttachPolicy": "

Attaches a policy to a root, an organizational unit (OU), or an individual account. How the policy affects accounts depends on the type of policy. Refer to the AWS Organizations User Guide for information about each policy type:

This operation can be called only from the organization's master account.

", + "AttachPolicy": "

Attaches a policy to a root, an organizational unit (OU), or an individual account. How the policy affects accounts depends on the type of policy. Refer to the AWS Organizations User Guide for information about each policy type:

This operation can be called only from the organization's master account.

", "CancelHandshake": "

Cancels a handshake. Canceling a handshake sets the handshake state to CANCELED.

This operation can be called only from the account that originated the handshake. The recipient of the handshake can't cancel it, but can use DeclineHandshake instead. After a handshake is canceled, the recipient can no longer respond to that handshake.

After you cancel a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that, it's deleted.

", - "CreateAccount": "

Creates an AWS account that is automatically a member of the organization whose credentials made the request. This is an asynchronous request that AWS performs in the background. Because CreateAccount operates asynchronously, it can return a successful completion message even though account initialization might still be in progress. You might need to wait a few minutes before you can successfully access the account. To check the status of the request, do one of the following:

The user who calls the API to create an account must have the organizations:CreateAccount permission. If you enabled all features in the organization, AWS Organizations creates the required service-linked role named AWSServiceRoleForOrganizations. For more information, see AWS Organizations and Service-Linked Roles in the AWS Organizations User Guide.

If the request includes tags, then the requester must have the organizations:TagResource permission.

AWS Organizations preconfigures the new member account with a role (named OrganizationAccountAccessRole by default) that grants users in the master account administrator permissions in the new member account. Principals in the master account can assume the role. AWS Organizations clones the company name and address information for the new account from the organization's master account.

This operation can be called only from the organization's master account.

For more information about creating accounts, see Creating an AWS Account in Your Organization in the AWS Organizations User Guide.

When you create a member account with this operation, you can choose whether to create the account with the IAM User and Role Access to Billing Information switch enabled. If you enable it, IAM users and roles that have appropriate permissions can view billing information for the account. If you disable it, only the account root user can access billing information. For information about how to disable this switch for an account, see Granting Access to Your Billing Information and Tools.

", - "CreateGovCloudAccount": "

This action is available if all of the following are true:

AWS Organizations automatically creates the required service-linked role named AWSServiceRoleForOrganizations. For more information, see AWS Organizations and Service-Linked Roles in the AWS Organizations User Guide.

AWS automatically enables AWS CloudTrail for AWS GovCloud (US) accounts, but you should also do the following:

If the request includes tags, then the requester must have the organizations:TagResource permission. The tags are attached to the commercial account associated with the GovCloud account, rather than the GovCloud account itself. To add tags to the GovCloud account, call the TagResource operation in the GovCloud Region after the new GovCloud account exists.

You call this action from the master account of your organization in the commercial Region to create a standalone AWS account in the AWS GovCloud (US) Region. After the account is created, the master account of an organization in the AWS GovCloud (US) Region can invite it to that organization. For more information on inviting standalone accounts in the AWS GovCloud (US) to join an organization, see AWS Organizations in the AWS GovCloud User Guide.

Calling CreateGovCloudAccount is an asynchronous request that AWS performs in the background. Because CreateGovCloudAccount operates asynchronously, it can return a successful completion message even though account initialization might still be in progress. You might need to wait a few minutes before you can successfully access the account. To check the status of the request, do one of the following:

When you call the CreateGovCloudAccount action, you create two accounts: a standalone account in the AWS GovCloud (US) Region and an associated account in the commercial Region for billing and support purposes. The account in the commercial Region is automatically a member of the organization whose credentials made the request. Both accounts are associated with the same email address.

A role is created in the new account in the commercial Region that allows the master account in the organization in the commercial Region to assume it. An AWS GovCloud (US) account is then created and associated with the commercial account that you just created. A role is also created in the new AWS GovCloud (US) account that can be assumed by the AWS GovCloud (US) account that is associated with the master account of the commercial organization. For more information and to view a diagram that explains how account access works, see AWS Organizations in the AWS GovCloud User Guide.

For more information about creating accounts, see Creating an AWS Account in Your Organization in the AWS Organizations User Guide.

When you create a member account with this operation, you can choose whether to create the account with the IAM User and Role Access to Billing Information switch enabled. If you enable it, IAM users and roles that have appropriate permissions can view billing information for the account. If you disable it, only the account root user can access billing information. For information about how to disable this switch for an account, see Granting Access to Your Billing Information and Tools.

", + "CreateAccount": "

Creates an AWS account that is automatically a member of the organization whose credentials made the request. This is an asynchronous request that AWS performs in the background. Because CreateAccount operates asynchronously, it can return a successful completion message even though account initialization might still be in progress. You might need to wait a few minutes before you can successfully access the account. To check the status of the request, do one of the following:

The user who calls the API to create an account must have the organizations:CreateAccount permission. If you enabled all features in the organization, AWS Organizations creates the required service-linked role named AWSServiceRoleForOrganizations. For more information, see AWS Organizations and Service-Linked Roles in the AWS Organizations User Guide.

If the request includes tags, then the requester must have the organizations:TagResource permission.

AWS Organizations preconfigures the new member account with a role (named OrganizationAccountAccessRole by default) that grants users in the master account administrator permissions in the new member account. Principals in the master account can assume the role. AWS Organizations clones the company name and address information for the new account from the organization's master account.

This operation can be called only from the organization's master account.

For more information about creating accounts, see Creating an AWS Account in Your Organization in the AWS Organizations User Guide.

When you create a member account with this operation, you can choose whether to create the account with the IAM User and Role Access to Billing Information switch enabled. If you enable it, IAM users and roles that have appropriate permissions can view billing information for the account. If you disable it, only the account root user can access billing information. For information about how to disable this switch for an account, see Granting Access to Your Billing Information and Tools.

", + "CreateGovCloudAccount": "

This action is available if all of the following are true:

AWS Organizations automatically creates the required service-linked role named AWSServiceRoleForOrganizations. For more information, see AWS Organizations and Service-Linked Roles in the AWS Organizations User Guide.

AWS automatically enables AWS CloudTrail for AWS GovCloud (US) accounts, but you should also do the following:

If the request includes tags, then the requester must have the organizations:TagResource permission. The tags are attached to the commercial account associated with the GovCloud account, rather than the GovCloud account itself. To add tags to the GovCloud account, call the TagResource operation in the GovCloud Region after the new GovCloud account exists.

You call this action from the master account of your organization in the commercial Region to create a standalone AWS account in the AWS GovCloud (US) Region. After the account is created, the master account of an organization in the AWS GovCloud (US) Region can invite it to that organization. For more information on inviting standalone accounts in the AWS GovCloud (US) to join an organization, see AWS Organizations in the AWS GovCloud User Guide.

Calling CreateGovCloudAccount is an asynchronous request that AWS performs in the background. Because CreateGovCloudAccount operates asynchronously, it can return a successful completion message even though account initialization might still be in progress. You might need to wait a few minutes before you can successfully access the account. To check the status of the request, do one of the following:

When you call the CreateGovCloudAccount action, you create two accounts: a standalone account in the AWS GovCloud (US) Region and an associated account in the commercial Region for billing and support purposes. The account in the commercial Region is automatically a member of the organization whose credentials made the request. Both accounts are associated with the same email address.

A role is created in the new account in the commercial Region that allows the master account in the organization in the commercial Region to assume it. An AWS GovCloud (US) account is then created and associated with the commercial account that you just created. A role is also created in the new AWS GovCloud (US) account that can be assumed by the AWS GovCloud (US) account that is associated with the master account of the commercial organization. For more information and to view a diagram that explains how account access works, see AWS Organizations in the AWS GovCloud User Guide.

For more information about creating accounts, see Creating an AWS Account in Your Organization in the AWS Organizations User Guide.

When you create a member account with this operation, you can choose whether to create the account with the IAM User and Role Access to Billing Information switch enabled. If you enable it, IAM users and roles that have appropriate permissions can view billing information for the account. If you disable it, only the account root user can access billing information. For information about how to disable this switch for an account, see Granting Access to Your Billing Information and Tools.

", "CreateOrganization": "

Creates an AWS organization. The account whose user is calling the CreateOrganization operation automatically becomes the master account of the new organization.

This operation must be called using credentials from the account that is to become the new organization's master account. The principal must also have the relevant IAM permissions.

By default (or if you set the FeatureSet parameter to ALL), the new organization is created with all features enabled and service control policies automatically enabled in the root. If you instead choose to create the organization supporting only the consolidated billing features by setting the FeatureSet parameter to CONSOLIDATED_BILLING\", no policy types are enabled by default, and you can't use organization policies

", "CreateOrganizationalUnit": "

Creates an organizational unit (OU) within a root or parent OU. An OU is a container for accounts that enables you to organize your accounts to apply policies according to your business requirements. The number of levels deep that you can nest OUs is dependent upon the policy types enabled for that root. For service control policies, the limit is five.

For more information about OUs, see Managing Organizational Units in the AWS Organizations User Guide.

If the request includes tags, then the requester must have the organizations:TagResource permission.

This operation can be called only from the organization's master account.

", "CreatePolicy": "

Creates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual AWS account.

For more information about policies and their use, see Managing Organization Policies.

If the request includes tags, then the requester must have the organizations:TagResource permission.

This operation can be called only from the organization's master account.

", @@ -210,7 +210,7 @@ "ChildId": { "base": null, "refs": { - "Child$Id": "

The unique identifier (ID) of this child entity.

The regex pattern for a child ID string requires one of the following:

", + "Child$Id": "

The unique identifier (ID) of this child entity.

The regex pattern for a child ID string requires one of the following:

", "ListParentsRequest$ChildId": "

The unique identifier (ID) of the OU or account whose parent containers you want to list. Don't specify a root.

The regex pattern for a child ID string requires one of the following:

" } }, @@ -262,8 +262,8 @@ "CreateAccountRequestId": { "base": null, "refs": { - "CreateAccountStatus$Id": "

The unique identifier (ID) that references this request. You get this value from the response of the initial CreateAccount request to create the account.

The regex pattern for a create account request ID string requires \"car-\" followed by from 8 to 32 lower-case letters or digits.

", - "DescribeCreateAccountStatusRequest$CreateAccountRequestId": "

Specifies the operationId that uniquely identifies the request. You can get the ID from the response to an earlier CreateAccount request, or from the ListCreateAccountStatus operation.

The regex pattern for a create account request ID string requires \"car-\" followed by from 8 to 32 lowercase letters or digits.

" + "CreateAccountStatus$Id": "

The unique identifier (ID) that references this request. You get this value from the response of the initial CreateAccount request to create the account.

The regex pattern for a create account request ID string requires \"car-\" followed by from 8 to 32 lowercase letters or digits.

", + "DescribeCreateAccountStatusRequest$CreateAccountRequestId": "

Specifies the Id value that uniquely identifies the CreateAccount request. You can get the value from the CreateAccountStatus.Id response in an earlier CreateAccount request, or from the ListCreateAccountStatus operation.

The regex pattern for a create account request ID string requires \"car-\" followed by from 8 to 32 lowercase letters or digits.

" } }, "CreateAccountResponse": { @@ -522,7 +522,7 @@ "EffectivePolicyType": { "base": null, "refs": { - "DescribeEffectivePolicyRequest$PolicyType": "

The type of policy that you want information about. You can specify one of the following values:

", + "DescribeEffectivePolicyRequest$PolicyType": "

The type of policy that you want information about. You can specify one of the following values:

", "EffectivePolicy$PolicyType": "

The policy type.

" } }, @@ -687,8 +687,8 @@ "CancelHandshakeRequest$HandshakeId": "

The unique identifier (ID) of the handshake that you want to cancel. You can get the ID from the ListHandshakesForOrganization operation.

The regex pattern for handshake ID string requires \"h-\" followed by from 8 to 32 lowercase letters or digits.

", "DeclineHandshakeRequest$HandshakeId": "

The unique identifier (ID) of the handshake that you want to decline. You can get the ID from the ListHandshakesForAccount operation.

The regex pattern for handshake ID string requires \"h-\" followed by from 8 to 32 lowercase letters or digits.

", "DescribeHandshakeRequest$HandshakeId": "

The unique identifier (ID) of the handshake that you want information about. You can get the ID from the original call to InviteAccountToOrganization, or from a call to ListHandshakesForAccount or ListHandshakesForOrganization.

The regex pattern for handshake ID string requires \"h-\" followed by from 8 to 32 lowercase letters or digits.

", - "Handshake$Id": "

The unique identifier (ID) of a handshake. The originating account creates the ID when it initiates the handshake.

The regex pattern for handshake ID string requires \"h-\" followed by from 8 to 32 lower-case letters or digits.

", - "HandshakeFilter$ParentHandshakeId": "

Specifies the parent handshake. Only used for handshake types that are a child of another type.

If you specify ParentHandshakeId, you cannot also specify ActionType.

The regex pattern for handshake ID string requires \"h-\" followed by from 8 to 32 lower-case letters or digits.

" + "Handshake$Id": "

The unique identifier (ID) of a handshake. The originating account creates the ID when it initiates the handshake.

The regex pattern for handshake ID string requires \"h-\" followed by from 8 to 32 lowercase letters or digits.

", + "HandshakeFilter$ParentHandshakeId": "

Specifies the parent handshake. Only used for handshake types that are a child of another type.

If you specify ParentHandshakeId, you cannot also specify ActionType.

The regex pattern for handshake ID string requires \"h-\" followed by from 8 to 32 lowercase letters or digits.

" } }, "HandshakeNotFoundException": { @@ -718,7 +718,7 @@ "HandshakePartyId": { "base": null, "refs": { - "HandshakeParty$Id": "

The unique identifier (ID) for the party.

The regex pattern for handshake ID string requires \"h-\" followed by from 8 to 32 lower-case letters or digits.

" + "HandshakeParty$Id": "

The unique identifier (ID) for the party.

The regex pattern for handshake ID string requires \"h-\" followed by from 8 to 32 lowercase letters or digits.

" } }, "HandshakePartyType": { @@ -1053,7 +1053,7 @@ "OrganizationId": { "base": null, "refs": { - "Organization$Id": "

The unique identifier (ID) of an organization.

The regex pattern for an organization ID string requires \"o-\" followed by from 10 to 32 lower-case letters or digits.

" + "Organization$Id": "

The unique identifier (ID) of an organization.

The regex pattern for an organization ID string requires \"o-\" followed by from 10 to 32 lowercase letters or digits.

" } }, "OrganizationNotEmptyException": { @@ -1081,7 +1081,7 @@ "refs": { "DeleteOrganizationalUnitRequest$OrganizationalUnitId": "

The unique identifier (ID) of the organizational unit that you want to delete. You can get the ID from the ListOrganizationalUnitsForParent operation.

The regex pattern for an organizational unit ID string requires \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits.

", "DescribeOrganizationalUnitRequest$OrganizationalUnitId": "

The unique identifier (ID) of the organizational unit that you want details about. You can get the ID from the ListOrganizationalUnitsForParent operation.

The regex pattern for an organizational unit ID string requires \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits.

", - "OrganizationalUnit$Id": "

The unique identifier (ID) associated with this OU.

The regex pattern for an organizational unit ID string requires \"ou-\" followed by from 4 to 32 lower-case letters or digits (the ID of the root that contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lower-case letters or digits.

", + "OrganizationalUnit$Id": "

The unique identifier (ID) associated with this OU.

The regex pattern for an organizational unit ID string requires \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits.

", "UpdateOrganizationalUnitRequest$OrganizationalUnitId": "

The unique identifier (ID) of the OU that you want to rename. You can get the ID from the ListOrganizationalUnitsForParent operation.

The regex pattern for an organizational unit ID string requires \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits.

" } }, @@ -1124,7 +1124,7 @@ "ListOrganizationalUnitsForParentRequest$ParentId": "

The unique identifier (ID) of the root or OU whose child OUs you want to list.

The regex pattern for a parent ID string requires one of the following:

", "MoveAccountRequest$SourceParentId": "

The unique identifier (ID) of the root or organizational unit that you want to move the account from.

The regex pattern for a parent ID string requires one of the following:

", "MoveAccountRequest$DestinationParentId": "

The unique identifier (ID) of the root or organizational unit that you want to move the account to.

The regex pattern for a parent ID string requires one of the following:

", - "Parent$Id": "

The unique identifier (ID) of the parent entity.

The regex pattern for a parent ID string requires one of the following:

" + "Parent$Id": "

The unique identifier (ID) of the parent entity.

The regex pattern for a parent ID string requires one of the following:

" } }, "ParentNotFoundException": { @@ -1195,7 +1195,7 @@ "DescribePolicyRequest$PolicyId": "

The unique identifier (ID) of the policy that you want details about. You can get the ID from the ListPolicies or ListPoliciesForTarget operations.

The regex pattern for a policy ID string requires \"p-\" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

", "DetachPolicyRequest$PolicyId": "

The unique identifier (ID) of the policy you want to detach. You can get the ID from the ListPolicies or ListPoliciesForTarget operations.

The regex pattern for a policy ID string requires \"p-\" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

", "ListTargetsForPolicyRequest$PolicyId": "

The unique identifier (ID) of the policy whose attachments you want to know.

The regex pattern for a policy ID string requires \"p-\" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

", - "PolicySummary$Id": "

The unique identifier (ID) of the policy.

The regex pattern for a policy ID string requires \"p-\" followed by from 8 to 128 lower-case letters or digits.

", + "PolicySummary$Id": "

The unique identifier (ID) of the policy.

The regex pattern for a policy ID string requires \"p-\" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

", "UpdatePolicyRequest$PolicyId": "

The unique identifier (ID) of the policy that you want to update.

The regex pattern for a policy ID string requires \"p-\" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

" } }, @@ -1237,7 +1237,7 @@ "DetachPolicyRequest$TargetId": "

The unique identifier (ID) of the root, OU, or account that you want to detach the policy from. You can get the ID from the ListRoots, ListOrganizationalUnitsForParent, or ListAccounts operations.

The regex pattern for a target ID string requires one of the following:

", "EffectivePolicy$TargetId": "

The account ID of the policy target.

", "ListPoliciesForTargetRequest$TargetId": "

The unique identifier (ID) of the root, organizational unit, or account whose policies you want to list.

The regex pattern for a target ID string requires one of the following:

", - "PolicyTargetSummary$TargetId": "

The unique identifier (ID) of the policy target.

The regex pattern for a target ID string requires one of the following:

" + "PolicyTargetSummary$TargetId": "

The unique identifier (ID) of the policy target.

The regex pattern for a target ID string requires one of the following:

" } }, "PolicyTargetSummary": { @@ -1255,11 +1255,11 @@ "PolicyType": { "base": null, "refs": { - "CreatePolicyRequest$Type": "

The type of policy to create. You can specify one of the following values:

", - "DisablePolicyTypeRequest$PolicyType": "

The policy type that you want to disable in this root. You can specify one of the following values:

", - "EnablePolicyTypeRequest$PolicyType": "

The policy type that you want to enable. You can specify one of the following values:

", - "ListPoliciesForTargetRequest$Filter": "

The type of policy that you want to include in the returned list. You must specify one of the following values:

", - "ListPoliciesRequest$Filter": "

Specifies the type of policy that you want to include in the response. You must specify one of the following values:

", + "CreatePolicyRequest$Type": "

The type of policy to create. You can specify one of the following values:

", + "DisablePolicyTypeRequest$PolicyType": "

The policy type that you want to disable in this root. You can specify one of the following values:

", + "EnablePolicyTypeRequest$PolicyType": "

The policy type that you want to enable. You can specify one of the following values:

", + "ListPoliciesForTargetRequest$Filter": "

The type of policy that you want to include in the returned list. You must specify one of the following values:

", + "ListPoliciesRequest$Filter": "

Specifies the type of policy that you want to include in the response. You must specify one of the following values:

", "PolicySummary$Type": "

The type of policy.

", "PolicyTypeSummary$Type": "

The name of the policy type.

" } @@ -1316,7 +1316,7 @@ } }, "Root": { - "base": "

Contains details about a root. A root is a top-level parent node in the hierarchy of an organization that can contain organizational units (OUs) and accounts. Every root contains every AWS account in the organization. Each root enables the accounts to be organized in a different way and to have different policy types enabled for use in that root.

", + "base": "

Contains details about a root. A root is a top-level parent node in the hierarchy of an organization that can contain organizational units (OUs) and accounts. The root contains every AWS account in the organization.

", "refs": { "DisablePolicyTypeResponse$Root": "

A structure that shows the root with the updated list of enabled policy types.

", "EnablePolicyTypeResponse$Root": "

A structure that shows the root with the updated list of enabled policy types.

", @@ -1334,7 +1334,7 @@ "refs": { "DisablePolicyTypeRequest$RootId": "

The unique identifier (ID) of the root in which you want to disable a policy type. You can get the ID from the ListRoots operation.

The regex pattern for a root ID string requires \"r-\" followed by from 4 to 32 lowercase letters or digits.

", "EnablePolicyTypeRequest$RootId": "

The unique identifier (ID) of the root in which you want to enable a policy type. You can get the ID from the ListRoots operation.

The regex pattern for a root ID string requires \"r-\" followed by from 4 to 32 lowercase letters or digits.

", - "Root$Id": "

The unique identifier (ID) for the root.

The regex pattern for a root ID string requires \"r-\" followed by from 4 to 32 lower-case letters or digits.

" + "Root$Id": "

The unique identifier (ID) for the root.

The regex pattern for a root ID string requires \"r-\" followed by from 4 to 32 lowercase letters or digits.

" } }, "RootName": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index f0fc08e006a..3c2b60ac927 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -2951,7 +2951,12 @@ }, "health" : { "endpoints" : { - "us-east-1" : { } + "fips-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "hostname" : "health-fips.us-east-2.amazonaws.com" + } } }, "honeycode" : { @@ -6841,6 +6846,11 @@ "cn-northwest-1" : { } } }, + "lakeformation" : { + "endpoints" : { + "cn-north-1" : { } + } + }, "lambda" : { "endpoints" : { "cn-north-1" : { }, @@ -7174,8 +7184,18 @@ }, "acm" : { "endpoints" : { - "us-gov-east-1" : { }, - "us-gov-west-1" : { } + "us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "hostname" : "acm.us-gov-east-1.amazonaws.com" + }, + "us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "hostname" : "acm.us-gov-west-1.amazonaws.com" + } } }, "acm-pca" : { @@ -8123,9 +8143,14 @@ "credentialScope" : { "region" : "us-gov-west-1" }, - "hostname" : "pinpoint.us-gov-west-1.amazonaws.com" + "hostname" : "pinpoint-fips.us-gov-west-1.amazonaws.com" }, - "us-gov-west-1" : { } + "us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "hostname" : "pinpoint.us-gov-west-1.amazonaws.com" + } } }, "polly" : { diff --git a/service/medialive/api.go b/service/medialive/api.go index 26cdadf29e3..afb64dcd612 100644 --- a/service/medialive/api.go +++ b/service/medialive/api.go @@ -14,6 +14,102 @@ import ( "github.com/aws/aws-sdk-go/private/protocol/restjson" ) +const opAcceptInputDeviceTransfer = "AcceptInputDeviceTransfer" + +// AcceptInputDeviceTransferRequest generates a "aws/request.Request" representing the +// client's request for the AcceptInputDeviceTransfer operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See AcceptInputDeviceTransfer for more information on using the AcceptInputDeviceTransfer +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the AcceptInputDeviceTransferRequest method. +// req, resp := client.AcceptInputDeviceTransferRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AcceptInputDeviceTransfer +func (c *MediaLive) AcceptInputDeviceTransferRequest(input *AcceptInputDeviceTransferInput) (req *request.Request, output *AcceptInputDeviceTransferOutput) { + op := &request.Operation{ + Name: opAcceptInputDeviceTransfer, + HTTPMethod: "POST", + HTTPPath: "/prod/inputDevices/{inputDeviceId}/accept", + } + + if input == nil { + input = &AcceptInputDeviceTransferInput{} + } + + output = &AcceptInputDeviceTransferOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// AcceptInputDeviceTransfer API operation for AWS Elemental MediaLive. +// +// Accept an incoming input device transfer. The ownership of the device will +// transfer to your AWS account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation AcceptInputDeviceTransfer for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// +// * UnprocessableEntityException +// +// * InternalServerErrorException +// +// * ForbiddenException +// +// * BadGatewayException +// +// * NotFoundException +// +// * GatewayTimeoutException +// +// * TooManyRequestsException +// +// * ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AcceptInputDeviceTransfer +func (c *MediaLive) AcceptInputDeviceTransfer(input *AcceptInputDeviceTransferInput) (*AcceptInputDeviceTransferOutput, error) { + req, out := c.AcceptInputDeviceTransferRequest(input) + return out, req.Send() +} + +// AcceptInputDeviceTransferWithContext is the same as AcceptInputDeviceTransfer with the addition of +// the ability to pass a context and additional request options. +// +// See AcceptInputDeviceTransfer for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) AcceptInputDeviceTransferWithContext(ctx aws.Context, input *AcceptInputDeviceTransferInput, opts ...request.Option) (*AcceptInputDeviceTransferOutput, error) { + req, out := c.AcceptInputDeviceTransferRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opBatchDelete = "BatchDelete" // BatchDeleteRequest generates a "aws/request.Request" representing the @@ -382,6 +478,101 @@ func (c *MediaLive) BatchUpdateScheduleWithContext(ctx aws.Context, input *Batch return out, req.Send() } +const opCancelInputDeviceTransfer = "CancelInputDeviceTransfer" + +// CancelInputDeviceTransferRequest generates a "aws/request.Request" representing the +// client's request for the CancelInputDeviceTransfer operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CancelInputDeviceTransfer for more information on using the CancelInputDeviceTransfer +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CancelInputDeviceTransferRequest method. +// req, resp := client.CancelInputDeviceTransferRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CancelInputDeviceTransfer +func (c *MediaLive) CancelInputDeviceTransferRequest(input *CancelInputDeviceTransferInput) (req *request.Request, output *CancelInputDeviceTransferOutput) { + op := &request.Operation{ + Name: opCancelInputDeviceTransfer, + HTTPMethod: "POST", + HTTPPath: "/prod/inputDevices/{inputDeviceId}/cancel", + } + + if input == nil { + input = &CancelInputDeviceTransferInput{} + } + + output = &CancelInputDeviceTransferOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// CancelInputDeviceTransfer API operation for AWS Elemental MediaLive. +// +// Cancel an input device transfer that you have requested. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation CancelInputDeviceTransfer for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// +// * UnprocessableEntityException +// +// * InternalServerErrorException +// +// * ForbiddenException +// +// * BadGatewayException +// +// * NotFoundException +// +// * GatewayTimeoutException +// +// * TooManyRequestsException +// +// * ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CancelInputDeviceTransfer +func (c *MediaLive) CancelInputDeviceTransfer(input *CancelInputDeviceTransferInput) (*CancelInputDeviceTransferOutput, error) { + req, out := c.CancelInputDeviceTransferRequest(input) + return out, req.Send() +} + +// CancelInputDeviceTransferWithContext is the same as CancelInputDeviceTransfer with the addition of +// the ability to pass a context and additional request options. +// +// See CancelInputDeviceTransfer for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) CancelInputDeviceTransferWithContext(ctx aws.Context, input *CancelInputDeviceTransferInput, opts ...request.Option) (*CancelInputDeviceTransferOutput, error) { + req, out := c.CancelInputDeviceTransferRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateChannel = "CreateChannel" // CreateChannelRequest generates a "aws/request.Request" representing the @@ -2751,6 +2942,156 @@ func (c *MediaLive) ListChannelsPagesWithContext(ctx aws.Context, input *ListCha return p.Err() } +const opListInputDeviceTransfers = "ListInputDeviceTransfers" + +// ListInputDeviceTransfersRequest generates a "aws/request.Request" representing the +// client's request for the ListInputDeviceTransfers operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListInputDeviceTransfers for more information on using the ListInputDeviceTransfers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListInputDeviceTransfersRequest method. +// req, resp := client.ListInputDeviceTransfersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDeviceTransfers +func (c *MediaLive) ListInputDeviceTransfersRequest(input *ListInputDeviceTransfersInput) (req *request.Request, output *ListInputDeviceTransfersOutput) { + op := &request.Operation{ + Name: opListInputDeviceTransfers, + HTTPMethod: "GET", + HTTPPath: "/prod/inputDeviceTransfers", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListInputDeviceTransfersInput{} + } + + output = &ListInputDeviceTransfersOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListInputDeviceTransfers API operation for AWS Elemental MediaLive. +// +// List input devices that are currently being transferred. List input devices +// that you are transferring from your AWS account or input devices that another +// AWS account is transferring to you. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation ListInputDeviceTransfers for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// +// * UnprocessableEntityException +// +// * InternalServerErrorException +// +// * ForbiddenException +// +// * BadGatewayException +// +// * GatewayTimeoutException +// +// * TooManyRequestsException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDeviceTransfers +func (c *MediaLive) ListInputDeviceTransfers(input *ListInputDeviceTransfersInput) (*ListInputDeviceTransfersOutput, error) { + req, out := c.ListInputDeviceTransfersRequest(input) + return out, req.Send() +} + +// ListInputDeviceTransfersWithContext is the same as ListInputDeviceTransfers with the addition of +// the ability to pass a context and additional request options. +// +// See ListInputDeviceTransfers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) ListInputDeviceTransfersWithContext(ctx aws.Context, input *ListInputDeviceTransfersInput, opts ...request.Option) (*ListInputDeviceTransfersOutput, error) { + req, out := c.ListInputDeviceTransfersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListInputDeviceTransfersPages iterates over the pages of a ListInputDeviceTransfers operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListInputDeviceTransfers method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListInputDeviceTransfers operation. +// pageNum := 0 +// err := client.ListInputDeviceTransfersPages(params, +// func(page *medialive.ListInputDeviceTransfersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *MediaLive) ListInputDeviceTransfersPages(input *ListInputDeviceTransfersInput, fn func(*ListInputDeviceTransfersOutput, bool) bool) error { + return c.ListInputDeviceTransfersPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListInputDeviceTransfersPagesWithContext same as ListInputDeviceTransfersPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) ListInputDeviceTransfersPagesWithContext(ctx aws.Context, input *ListInputDeviceTransfersInput, fn func(*ListInputDeviceTransfersOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListInputDeviceTransfersInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListInputDeviceTransfersRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListInputDeviceTransfersOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListInputDevices = "ListInputDevices" // ListInputDevicesRequest generates a "aws/request.Request" representing the @@ -3951,6 +4292,101 @@ func (c *MediaLive) PurchaseOfferingWithContext(ctx aws.Context, input *Purchase return out, req.Send() } +const opRejectInputDeviceTransfer = "RejectInputDeviceTransfer" + +// RejectInputDeviceTransferRequest generates a "aws/request.Request" representing the +// client's request for the RejectInputDeviceTransfer operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RejectInputDeviceTransfer for more information on using the RejectInputDeviceTransfer +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RejectInputDeviceTransferRequest method. +// req, resp := client.RejectInputDeviceTransferRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RejectInputDeviceTransfer +func (c *MediaLive) RejectInputDeviceTransferRequest(input *RejectInputDeviceTransferInput) (req *request.Request, output *RejectInputDeviceTransferOutput) { + op := &request.Operation{ + Name: opRejectInputDeviceTransfer, + HTTPMethod: "POST", + HTTPPath: "/prod/inputDevices/{inputDeviceId}/reject", + } + + if input == nil { + input = &RejectInputDeviceTransferInput{} + } + + output = &RejectInputDeviceTransferOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// RejectInputDeviceTransfer API operation for AWS Elemental MediaLive. +// +// Reject the transfer of the specified input device to your AWS account. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation RejectInputDeviceTransfer for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// +// * UnprocessableEntityException +// +// * InternalServerErrorException +// +// * ForbiddenException +// +// * BadGatewayException +// +// * NotFoundException +// +// * GatewayTimeoutException +// +// * TooManyRequestsException +// +// * ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RejectInputDeviceTransfer +func (c *MediaLive) RejectInputDeviceTransfer(input *RejectInputDeviceTransferInput) (*RejectInputDeviceTransferOutput, error) { + req, out := c.RejectInputDeviceTransferRequest(input) + return out, req.Send() +} + +// RejectInputDeviceTransferWithContext is the same as RejectInputDeviceTransfer with the addition of +// the ability to pass a context and additional request options. +// +// See RejectInputDeviceTransfer for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) RejectInputDeviceTransferWithContext(ctx aws.Context, input *RejectInputDeviceTransferInput, opts ...request.Option) (*RejectInputDeviceTransferOutput, error) { + req, out := c.RejectInputDeviceTransferRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opStartChannel = "StartChannel" // StartChannelRequest generates a "aws/request.Request" representing the @@ -4321,6 +4757,102 @@ func (c *MediaLive) StopMultiplexWithContext(ctx aws.Context, input *StopMultipl return out, req.Send() } +const opTransferInputDevice = "TransferInputDevice" + +// TransferInputDeviceRequest generates a "aws/request.Request" representing the +// client's request for the TransferInputDevice operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TransferInputDevice for more information on using the TransferInputDevice +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the TransferInputDeviceRequest method. +// req, resp := client.TransferInputDeviceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TransferInputDevice +func (c *MediaLive) TransferInputDeviceRequest(input *TransferInputDeviceInput) (req *request.Request, output *TransferInputDeviceOutput) { + op := &request.Operation{ + Name: opTransferInputDevice, + HTTPMethod: "POST", + HTTPPath: "/prod/inputDevices/{inputDeviceId}/transfer", + } + + if input == nil { + input = &TransferInputDeviceInput{} + } + + output = &TransferInputDeviceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// TransferInputDevice API operation for AWS Elemental MediaLive. +// +// Start an input device transfer to another AWS account. After you make the +// request, the other account must accept or reject the transfer. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Elemental MediaLive's +// API operation TransferInputDevice for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// +// * UnprocessableEntityException +// +// * InternalServerErrorException +// +// * ForbiddenException +// +// * BadGatewayException +// +// * NotFoundException +// +// * GatewayTimeoutException +// +// * TooManyRequestsException +// +// * ConflictException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TransferInputDevice +func (c *MediaLive) TransferInputDevice(input *TransferInputDeviceInput) (*TransferInputDeviceOutput, error) { + req, out := c.TransferInputDeviceRequest(input) + return out, req.Send() +} + +// TransferInputDeviceWithContext is the same as TransferInputDevice with the addition of +// the ability to pass a context and additional request options. +// +// See TransferInputDevice for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *MediaLive) TransferInputDeviceWithContext(ctx aws.Context, input *TransferInputDeviceInput, opts ...request.Option) (*TransferInputDeviceOutput, error) { + req, out := c.TransferInputDeviceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateChannel = "UpdateChannel" // UpdateChannelRequest generates a "aws/request.Request" representing the @@ -5252,10 +5784,63 @@ func (s *Ac3Settings) SetLfeFilter(v string) *Ac3Settings { return s } -// SetMetadataControl sets the MetadataControl field's value. -func (s *Ac3Settings) SetMetadataControl(v string) *Ac3Settings { - s.MetadataControl = &v - return s +// SetMetadataControl sets the MetadataControl field's value. +func (s *Ac3Settings) SetMetadataControl(v string) *Ac3Settings { + s.MetadataControl = &v + return s +} + +type AcceptInputDeviceTransferInput struct { + _ struct{} `type:"structure"` + + // InputDeviceId is a required field + InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` +} + +// String returns the string representation +func (s AcceptInputDeviceTransferInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AcceptInputDeviceTransferInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AcceptInputDeviceTransferInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AcceptInputDeviceTransferInput"} + if s.InputDeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) + } + if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputDeviceId sets the InputDeviceId field's value. +func (s *AcceptInputDeviceTransferInput) SetInputDeviceId(v string) *AcceptInputDeviceTransferInput { + s.InputDeviceId = &v + return s +} + +type AcceptInputDeviceTransferOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AcceptInputDeviceTransferOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AcceptInputDeviceTransferOutput) GoString() string { + return s.String() } // Ancillary Source Settings @@ -7385,6 +7970,59 @@ func (s *BurnInDestinationSettings) SetYPosition(v int64) *BurnInDestinationSett return s } +type CancelInputDeviceTransferInput struct { + _ struct{} `type:"structure"` + + // InputDeviceId is a required field + InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` +} + +// String returns the string representation +func (s CancelInputDeviceTransferInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CancelInputDeviceTransferInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CancelInputDeviceTransferInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelInputDeviceTransferInput"} + if s.InputDeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) + } + if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputDeviceId sets the InputDeviceId field's value. +func (s *CancelInputDeviceTransferInput) SetInputDeviceId(v string) *CancelInputDeviceTransferInput { + s.InputDeviceId = &v + return s +} + +type CancelInputDeviceTransferOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s CancelInputDeviceTransferOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CancelInputDeviceTransferOutput) GoString() string { + return s.String() +} + // Caption Description type CaptionDescription struct { _ struct{} `type:"structure"` @@ -16629,6 +17267,91 @@ func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput { return s } +type ListInputDeviceTransfersInput struct { + _ struct{} `type:"structure"` + + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // TransferType is a required field + TransferType *string `location:"querystring" locationName:"transferType" type:"string" required:"true"` +} + +// String returns the string representation +func (s ListInputDeviceTransfersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListInputDeviceTransfersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListInputDeviceTransfersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInputDeviceTransfersInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.TransferType == nil { + invalidParams.Add(request.NewErrParamRequired("TransferType")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListInputDeviceTransfersInput) SetMaxResults(v int64) *ListInputDeviceTransfersInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListInputDeviceTransfersInput) SetNextToken(v string) *ListInputDeviceTransfersInput { + s.NextToken = &v + return s +} + +// SetTransferType sets the TransferType field's value. +func (s *ListInputDeviceTransfersInput) SetTransferType(v string) *ListInputDeviceTransfersInput { + s.TransferType = &v + return s +} + +type ListInputDeviceTransfersOutput struct { + _ struct{} `type:"structure"` + + InputDeviceTransfers []*TransferringInputDeviceSummary `locationName:"inputDeviceTransfers" type:"list"` + + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListInputDeviceTransfersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListInputDeviceTransfersOutput) GoString() string { + return s.String() +} + +// SetInputDeviceTransfers sets the InputDeviceTransfers field's value. +func (s *ListInputDeviceTransfersOutput) SetInputDeviceTransfers(v []*TransferringInputDeviceSummary) *ListInputDeviceTransfersOutput { + s.InputDeviceTransfers = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListInputDeviceTransfersOutput) SetNextToken(v string) *ListInputDeviceTransfersOutput { + s.NextToken = &v + return s +} + type ListInputDevicesInput struct { _ struct{} `type:"structure"` @@ -20845,6 +21568,59 @@ func (s Rec709Settings) GoString() string { return s.String() } +type RejectInputDeviceTransferInput struct { + _ struct{} `type:"structure"` + + // InputDeviceId is a required field + InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` +} + +// String returns the string representation +func (s RejectInputDeviceTransferInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RejectInputDeviceTransferInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RejectInputDeviceTransferInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RejectInputDeviceTransferInput"} + if s.InputDeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) + } + if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputDeviceId sets the InputDeviceId field's value. +func (s *RejectInputDeviceTransferInput) SetInputDeviceId(v string) *RejectInputDeviceTransferInput { + s.InputDeviceId = &v + return s +} + +type RejectInputDeviceTransferOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s RejectInputDeviceTransferOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RejectInputDeviceTransferOutput) GoString() string { + return s.String() +} + // Remix Settings type RemixSettings struct { _ struct{} `type:"structure"` @@ -23581,6 +24357,126 @@ func (s *TooManyRequestsException) RequestID() string { return s.RespMetadata.RequestID } +type TransferInputDeviceInput struct { + _ struct{} `type:"structure"` + + // InputDeviceId is a required field + InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` + + TargetCustomerId *string `locationName:"targetCustomerId" type:"string"` + + TransferMessage *string `locationName:"transferMessage" type:"string"` +} + +// String returns the string representation +func (s TransferInputDeviceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TransferInputDeviceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TransferInputDeviceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TransferInputDeviceInput"} + if s.InputDeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) + } + if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInputDeviceId sets the InputDeviceId field's value. +func (s *TransferInputDeviceInput) SetInputDeviceId(v string) *TransferInputDeviceInput { + s.InputDeviceId = &v + return s +} + +// SetTargetCustomerId sets the TargetCustomerId field's value. +func (s *TransferInputDeviceInput) SetTargetCustomerId(v string) *TransferInputDeviceInput { + s.TargetCustomerId = &v + return s +} + +// SetTransferMessage sets the TransferMessage field's value. +func (s *TransferInputDeviceInput) SetTransferMessage(v string) *TransferInputDeviceInput { + s.TransferMessage = &v + return s +} + +type TransferInputDeviceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s TransferInputDeviceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TransferInputDeviceOutput) GoString() string { + return s.String() +} + +// Details about the input device that is being transferred. +type TransferringInputDeviceSummary struct { + _ struct{} `type:"structure"` + + // The unique ID of the input device. + Id *string `locationName:"id" type:"string"` + + // The optional message that the sender has attached to the transfer. + Message *string `locationName:"message" type:"string"` + + // The AWS account ID for the recipient of the input device transfer. + TargetCustomerId *string `locationName:"targetCustomerId" type:"string"` + + // The type (direction) of the input device transfer. + TransferType *string `locationName:"transferType" type:"string" enum:"InputDeviceTransferType"` +} + +// String returns the string representation +func (s TransferringInputDeviceSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TransferringInputDeviceSummary) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *TransferringInputDeviceSummary) SetId(v string) *TransferringInputDeviceSummary { + s.Id = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *TransferringInputDeviceSummary) SetMessage(v string) *TransferringInputDeviceSummary { + s.Message = &v + return s +} + +// SetTargetCustomerId sets the TargetCustomerId field's value. +func (s *TransferringInputDeviceSummary) SetTargetCustomerId(v string) *TransferringInputDeviceSummary { + s.TargetCustomerId = &v + return s +} + +// SetTransferType sets the TransferType field's value. +func (s *TransferringInputDeviceSummary) SetTransferType(v string) *TransferringInputDeviceSummary { + s.TransferType = &v + return s +} + // Ttml Destination Settings type TtmlDestinationSettings struct { _ struct{} `type:"structure"` @@ -28013,6 +28909,25 @@ func InputDeviceState_Values() []string { } } +// The type of device transfer. INCOMING for an input device that is being transferred +// to you, OUTGOING for an input device that you are transferring to another +// AWS account. +const ( + // InputDeviceTransferTypeOutgoing is a InputDeviceTransferType enum value + InputDeviceTransferTypeOutgoing = "OUTGOING" + + // InputDeviceTransferTypeIncoming is a InputDeviceTransferType enum value + InputDeviceTransferTypeIncoming = "INCOMING" +) + +// InputDeviceTransferType_Values returns all elements of the InputDeviceTransferType enum +func InputDeviceTransferType_Values() []string { + return []string{ + InputDeviceTransferTypeOutgoing, + InputDeviceTransferTypeIncoming, + } +} + // The type of the input device. For an AWS Elemental Link device that outputs // resolutions up to 1080, choose "HD". const ( diff --git a/service/medialive/medialiveiface/interface.go b/service/medialive/medialiveiface/interface.go index 9453b08aa79..a154cb97014 100644 --- a/service/medialive/medialiveiface/interface.go +++ b/service/medialive/medialiveiface/interface.go @@ -26,7 +26,7 @@ import ( // // myFunc uses an SDK service client to make a request to // // AWS Elemental MediaLive. // func myFunc(svc medialiveiface.MediaLiveAPI) bool { -// // Make svc.BatchDelete request +// // Make svc.AcceptInputDeviceTransfer request // } // // func main() { @@ -42,7 +42,7 @@ import ( // type mockMediaLiveClient struct { // medialiveiface.MediaLiveAPI // } -// func (m *mockMediaLiveClient) BatchDelete(input *medialive.BatchDeleteInput) (*medialive.BatchDeleteOutput, error) { +// func (m *mockMediaLiveClient) AcceptInputDeviceTransfer(input *medialive.AcceptInputDeviceTransferInput) (*medialive.AcceptInputDeviceTransferOutput, error) { // // mock response/functionality // } // @@ -60,6 +60,10 @@ import ( // and waiters. Its suggested to use the pattern above for testing, or using // tooling to generate mocks to satisfy the interfaces. type MediaLiveAPI interface { + AcceptInputDeviceTransfer(*medialive.AcceptInputDeviceTransferInput) (*medialive.AcceptInputDeviceTransferOutput, error) + AcceptInputDeviceTransferWithContext(aws.Context, *medialive.AcceptInputDeviceTransferInput, ...request.Option) (*medialive.AcceptInputDeviceTransferOutput, error) + AcceptInputDeviceTransferRequest(*medialive.AcceptInputDeviceTransferInput) (*request.Request, *medialive.AcceptInputDeviceTransferOutput) + BatchDelete(*medialive.BatchDeleteInput) (*medialive.BatchDeleteOutput, error) BatchDeleteWithContext(aws.Context, *medialive.BatchDeleteInput, ...request.Option) (*medialive.BatchDeleteOutput, error) BatchDeleteRequest(*medialive.BatchDeleteInput) (*request.Request, *medialive.BatchDeleteOutput) @@ -76,6 +80,10 @@ type MediaLiveAPI interface { BatchUpdateScheduleWithContext(aws.Context, *medialive.BatchUpdateScheduleInput, ...request.Option) (*medialive.BatchUpdateScheduleOutput, error) BatchUpdateScheduleRequest(*medialive.BatchUpdateScheduleInput) (*request.Request, *medialive.BatchUpdateScheduleOutput) + CancelInputDeviceTransfer(*medialive.CancelInputDeviceTransferInput) (*medialive.CancelInputDeviceTransferOutput, error) + CancelInputDeviceTransferWithContext(aws.Context, *medialive.CancelInputDeviceTransferInput, ...request.Option) (*medialive.CancelInputDeviceTransferOutput, error) + CancelInputDeviceTransferRequest(*medialive.CancelInputDeviceTransferInput) (*request.Request, *medialive.CancelInputDeviceTransferOutput) + CreateChannel(*medialive.CreateChannelInput) (*medialive.CreateChannelOutput, error) CreateChannelWithContext(aws.Context, *medialive.CreateChannelInput, ...request.Option) (*medialive.CreateChannelOutput, error) CreateChannelRequest(*medialive.CreateChannelInput) (*request.Request, *medialive.CreateChannelOutput) @@ -182,6 +190,13 @@ type MediaLiveAPI interface { ListChannelsPages(*medialive.ListChannelsInput, func(*medialive.ListChannelsOutput, bool) bool) error ListChannelsPagesWithContext(aws.Context, *medialive.ListChannelsInput, func(*medialive.ListChannelsOutput, bool) bool, ...request.Option) error + ListInputDeviceTransfers(*medialive.ListInputDeviceTransfersInput) (*medialive.ListInputDeviceTransfersOutput, error) + ListInputDeviceTransfersWithContext(aws.Context, *medialive.ListInputDeviceTransfersInput, ...request.Option) (*medialive.ListInputDeviceTransfersOutput, error) + ListInputDeviceTransfersRequest(*medialive.ListInputDeviceTransfersInput) (*request.Request, *medialive.ListInputDeviceTransfersOutput) + + ListInputDeviceTransfersPages(*medialive.ListInputDeviceTransfersInput, func(*medialive.ListInputDeviceTransfersOutput, bool) bool) error + ListInputDeviceTransfersPagesWithContext(aws.Context, *medialive.ListInputDeviceTransfersInput, func(*medialive.ListInputDeviceTransfersOutput, bool) bool, ...request.Option) error + ListInputDevices(*medialive.ListInputDevicesInput) (*medialive.ListInputDevicesOutput, error) ListInputDevicesWithContext(aws.Context, *medialive.ListInputDevicesInput, ...request.Option) (*medialive.ListInputDevicesOutput, error) ListInputDevicesRequest(*medialive.ListInputDevicesInput) (*request.Request, *medialive.ListInputDevicesOutput) @@ -239,6 +254,10 @@ type MediaLiveAPI interface { PurchaseOfferingWithContext(aws.Context, *medialive.PurchaseOfferingInput, ...request.Option) (*medialive.PurchaseOfferingOutput, error) PurchaseOfferingRequest(*medialive.PurchaseOfferingInput) (*request.Request, *medialive.PurchaseOfferingOutput) + RejectInputDeviceTransfer(*medialive.RejectInputDeviceTransferInput) (*medialive.RejectInputDeviceTransferOutput, error) + RejectInputDeviceTransferWithContext(aws.Context, *medialive.RejectInputDeviceTransferInput, ...request.Option) (*medialive.RejectInputDeviceTransferOutput, error) + RejectInputDeviceTransferRequest(*medialive.RejectInputDeviceTransferInput) (*request.Request, *medialive.RejectInputDeviceTransferOutput) + StartChannel(*medialive.StartChannelInput) (*medialive.StartChannelOutput, error) StartChannelWithContext(aws.Context, *medialive.StartChannelInput, ...request.Option) (*medialive.StartChannelOutput, error) StartChannelRequest(*medialive.StartChannelInput) (*request.Request, *medialive.StartChannelOutput) @@ -255,6 +274,10 @@ type MediaLiveAPI interface { StopMultiplexWithContext(aws.Context, *medialive.StopMultiplexInput, ...request.Option) (*medialive.StopMultiplexOutput, error) StopMultiplexRequest(*medialive.StopMultiplexInput) (*request.Request, *medialive.StopMultiplexOutput) + TransferInputDevice(*medialive.TransferInputDeviceInput) (*medialive.TransferInputDeviceOutput, error) + TransferInputDeviceWithContext(aws.Context, *medialive.TransferInputDeviceInput, ...request.Option) (*medialive.TransferInputDeviceOutput, error) + TransferInputDeviceRequest(*medialive.TransferInputDeviceInput) (*request.Request, *medialive.TransferInputDeviceOutput) + UpdateChannel(*medialive.UpdateChannelInput) (*medialive.UpdateChannelOutput, error) UpdateChannelWithContext(aws.Context, *medialive.UpdateChannelInput, ...request.Option) (*medialive.UpdateChannelOutput, error) UpdateChannelRequest(*medialive.UpdateChannelInput) (*request.Request, *medialive.UpdateChannelOutput) diff --git a/service/organizations/api.go b/service/organizations/api.go index d1975b6e456..839e5825b06 100644 --- a/service/organizations/api.go +++ b/service/organizations/api.go @@ -321,13 +321,13 @@ func (c *Organizations) AttachPolicyRequest(input *AttachPolicyInput) (req *requ // account. How the policy affects accounts depends on the type of policy. Refer // to the AWS Organizations User Guide for information about each policy type: // -// * AISERVICES_OPT_OUT_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) +// * AISERVICES_OPT_OUT_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) // -// * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) +// * BACKUP_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) // -// * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) +// * SERVICE_CONTROL_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) // -// * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) +// * TAG_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) // // This operation can be called only from the organization's master account. // @@ -871,8 +871,9 @@ func (c *Organizations) CreateAccountRequest(input *CreateAccountInput) (req *re // can successfully access the account. To check the status of the request, // do one of the following: // -// * Use the OperationId response element from this operation to provide -// as a parameter to the DescribeCreateAccountStatus operation. +// * Use the Id member of the CreateAccountStatus response element from this +// operation to provide as a parameter to the DescribeCreateAccountStatus +// operation. // // * Check the AWS CloudTrail log for the CreateAccountResult event. For // information on using AWS CloudTrail with AWS Organizations, see Monitoring @@ -1262,7 +1263,7 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun // User Guide. (http://docs.aws.amazon.com/govcloud-us/latest/UserGuide/welcome.html) // // * You already have an account in the AWS GovCloud (US) Region that is -// associated with your master account in the commercial Region. +// paired with a master account of an organization in the commercial Region. // // * You call this action from the master account of your organization in // the commercial Region. @@ -15074,12 +15075,12 @@ type Child struct { // The regex pattern (http://wikipedia.org/wiki/regex) for a child ID string // requires one of the following: // - // * Account: A string that consists of exactly 12 digits. + // * Account - A string that consists of exactly 12 digits. // - // * Organizational unit (OU): A string that begins with "ou-" followed by - // from 4 to 32 lower-case letters or digits (the ID of the root that contains + // * Organizational unit (OU) - A string that begins with "ou-" followed + // by from 4 to 32 lowercase letters or digits (the ID of the root that contains // the OU). This string is followed by a second "-" dash and from 8 to 32 - // additional lower-case letters or digits. + // additional lowercase letters or digits. Id *string `type:"string"` // The type of this child entity. @@ -15642,7 +15643,7 @@ type CreateAccountStatus struct { // from the response of the initial CreateAccount request to create the account. // // The regex pattern (http://wikipedia.org/wiki/regex) for a create account - // request ID string requires "car-" followed by from 8 to 32 lower-case letters + // request ID string requires "car-" followed by from 8 to 32 lowercase letters // or digits. Id *string `type:"string"` @@ -16145,13 +16146,13 @@ type CreatePolicyInput struct { // The type of policy to create. You can specify one of the following values: // - // * AISERVICES_OPT_OUT_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) + // * AISERVICES_OPT_OUT_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) // - // * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) + // * BACKUP_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) // - // * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) + // * SERVICE_CONTROL_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) // - // * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) + // * TAG_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) // // Type is a required field Type *string `type:"string" required:"true" enum:"PolicyType"` @@ -16735,9 +16736,9 @@ func (s *DescribeAccountOutput) SetAccount(v *Account) *DescribeAccountOutput { type DescribeCreateAccountStatusInput struct { _ struct{} `type:"structure"` - // Specifies the operationId that uniquely identifies the request. You can get - // the ID from the response to an earlier CreateAccount request, or from the - // ListCreateAccountStatus operation. + // Specifies the Id value that uniquely identifies the CreateAccount request. + // You can get the value from the CreateAccountStatus.Id response in an earlier + // CreateAccount request, or from the ListCreateAccountStatus operation. // // The regex pattern (http://wikipedia.org/wiki/regex) for a create account // request ID string requires "car-" followed by from 8 to 32 lowercase letters @@ -16805,11 +16806,11 @@ type DescribeEffectivePolicyInput struct { // The type of policy that you want information about. You can specify one of // the following values: // - // * AISERVICES_OPT_OUT_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) + // * AISERVICES_OPT_OUT_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) // - // * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) + // * BACKUP_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) // - // * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) + // * TAG_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) // // PolicyType is a required field PolicyType *string `type:"string" required:"true" enum:"EffectivePolicyType"` @@ -17325,13 +17326,13 @@ type DisablePolicyTypeInput struct { // The policy type that you want to disable in this root. You can specify one // of the following values: // - // * AISERVICES_OPT_OUT_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) + // * AISERVICES_OPT_OUT_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) // - // * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) + // * BACKUP_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) // - // * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) + // * SERVICE_CONTROL_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) // - // * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) + // * TAG_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) // // PolicyType is a required field PolicyType *string `type:"string" required:"true" enum:"PolicyType"` @@ -17904,13 +17905,13 @@ type EnablePolicyTypeInput struct { // The policy type that you want to enable. You can specify one of the following // values: // - // * AISERVICES_OPT_OUT_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) + // * AISERVICES_OPT_OUT_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) // - // * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) + // * BACKUP_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) // - // * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) + // * SERVICE_CONTROL_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) // - // * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) + // * TAG_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) // // PolicyType is a required field PolicyType *string `type:"string" required:"true" enum:"PolicyType"` @@ -18126,7 +18127,7 @@ type Handshake struct { // the ID when it initiates the handshake. // // The regex pattern (http://wikipedia.org/wiki/regex) for handshake ID string - // requires "h-" followed by from 8 to 32 lower-case letters or digits. + // requires "h-" followed by from 8 to 32 lowercase letters or digits. Id *string `type:"string"` // Information about the two accounts that are participating in the handshake. @@ -18390,7 +18391,7 @@ type HandshakeFilter struct { // If you specify ParentHandshakeId, you cannot also specify ActionType. // // The regex pattern (http://wikipedia.org/wiki/regex) for handshake ID string - // requires "h-" followed by from 8 to 32 lower-case letters or digits. + // requires "h-" followed by from 8 to 32 lowercase letters or digits. ParentHandshakeId *string `type:"string"` } @@ -18479,7 +18480,7 @@ type HandshakeParty struct { // The unique identifier (ID) for the party. // // The regex pattern (http://wikipedia.org/wiki/regex) for handshake ID string - // requires "h-" followed by from 8 to 32 lower-case letters or digits. + // requires "h-" followed by from 8 to 32 lowercase letters or digits. // // Id is a required field Id *string `min:"1" type:"string" required:"true" sensitive:"true"` @@ -20121,13 +20122,13 @@ type ListPoliciesForTargetInput struct { // The type of policy that you want to include in the returned list. You must // specify one of the following values: // - // * AISERVICES_OPT_OUT_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) + // * AISERVICES_OPT_OUT_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) // - // * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) + // * BACKUP_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) // - // * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) + // * SERVICE_CONTROL_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) // - // * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) + // * TAG_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) // // Filter is a required field Filter *string `type:"string" required:"true" enum:"PolicyType"` @@ -20263,13 +20264,13 @@ type ListPoliciesInput struct { // Specifies the type of policy that you want to include in the response. You // must specify one of the following values: // - // * AISERVICES_OPT_OUT_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) + // * AISERVICES_OPT_OUT_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) // - // * BACKUP_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) + // * BACKUP_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) // - // * SERVICE_CONTROL_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) + // * SERVICE_CONTROL_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) // - // * TAG_POLICY (http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) + // * TAG_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) // // Filter is a required field Filter *string `type:"string" required:"true" enum:"PolicyType"` @@ -20929,7 +20930,7 @@ type Organization struct { // The unique identifier (ID) of an organization. // // The regex pattern (http://wikipedia.org/wiki/regex) for an organization ID - // string requires "o-" followed by from 10 to 32 lower-case letters or digits. + // string requires "o-" followed by from 10 to 32 lowercase letters or digits. Id *string `type:"string"` // The Amazon Resource Name (ARN) of the account that is designated as the master @@ -21076,9 +21077,9 @@ type OrganizationalUnit struct { // The unique identifier (ID) associated with this OU. // // The regex pattern (http://wikipedia.org/wiki/regex) for an organizational - // unit ID string requires "ou-" followed by from 4 to 32 lower-case letters + // unit ID string requires "ou-" followed by from 4 to 32 lowercase letters // or digits (the ID of the root that contains the OU). This string is followed - // by a second "-" dash and from 8 to 32 additional lower-case letters or digits. + // by a second "-" dash and from 8 to 32 additional lowercase letters or digits. Id *string `type:"string"` // The friendly name of this OU. @@ -21240,13 +21241,13 @@ type Parent struct { // The regex pattern (http://wikipedia.org/wiki/regex) for a parent ID string // requires one of the following: // - // * Root: A string that begins with "r-" followed by from 4 to 32 lower-case + // * Root - A string that begins with "r-" followed by from 4 to 32 lowercase // letters or digits. // - // * Organizational unit (OU): A string that begins with "ou-" followed by - // from 4 to 32 lower-case letters or digits (the ID of the root that the + // * Organizational unit (OU) - A string that begins with "ou-" followed + // by from 4 to 32 lowercase letters or digits (the ID of the root that the // OU is in). This string is followed by a second "-" dash and from 8 to - // 32 additional lower-case letters or digits. + // 32 additional lowercase letters or digits. Id *string `type:"string"` // The type of the parent entity. @@ -21615,7 +21616,8 @@ type PolicySummary struct { // The unique identifier (ID) of the policy. // // The regex pattern (http://wikipedia.org/wiki/regex) for a policy ID string - // requires "p-" followed by from 8 to 128 lower-case letters or digits. + // requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, + // or the underscore character (_). Id *string `type:"string"` // The friendly name of the policy. @@ -21699,15 +21701,15 @@ type PolicyTargetSummary struct { // The regex pattern (http://wikipedia.org/wiki/regex) for a target ID string // requires one of the following: // - // * Root: A string that begins with "r-" followed by from 4 to 32 lower-case + // * Root - A string that begins with "r-" followed by from 4 to 32 lowercase // letters or digits. // - // * Account: A string that consists of exactly 12 digits. + // * Account - A string that consists of exactly 12 digits. // - // * Organizational unit (OU): A string that begins with "ou-" followed by - // from 4 to 32 lower-case letters or digits (the ID of the root that the + // * Organizational unit (OU) - A string that begins with "ou-" followed + // by from 4 to 32 lowercase letters or digits (the ID of the root that the // OU is in). This string is followed by a second "-" dash and from 8 to - // 32 additional lower-case letters or digits. + // 32 additional lowercase letters or digits. TargetId *string `type:"string"` // The type of the policy target. @@ -22089,9 +22091,7 @@ func (s RemoveAccountFromOrganizationOutput) GoString() string { // Contains details about a root. A root is a top-level parent node in the hierarchy // of an organization that can contain organizational units (OUs) and accounts. -// Every root contains every AWS account in the organization. Each root enables -// the accounts to be organized in a different way and to have different policy -// types enabled for use in that root. +// The root contains every AWS account in the organization. type Root struct { _ struct{} `type:"structure"` @@ -22105,7 +22105,7 @@ type Root struct { // The unique identifier (ID) for the root. // // The regex pattern (http://wikipedia.org/wiki/regex) for a root ID string - // requires "r-" followed by from 4 to 32 lower-case letters or digits. + // requires "r-" followed by from 4 to 32 lowercase letters or digits. Id *string `type:"string"` // The friendly name of the root.