diff --git a/apis/organizations/2016-11-28/api-2.json b/apis/organizations/2016-11-28/api-2.json index bf9290e17c9..4303d804be2 100644 --- a/apis/organizations/2016-11-28/api-2.json +++ b/apis/organizations/2016-11-28/api-2.json @@ -1244,7 +1244,8 @@ "CANNOT_CLOSE_MANAGEMENT_ACCOUNT", "CLOSE_ACCOUNT_QUOTA_EXCEEDED", "CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED", - "SERVICE_ACCESS_NOT_ENABLED" + "SERVICE_ACCESS_NOT_ENABLED", + "INVALID_PAYMENT_INSTRUMENT" ] }, "CreateAccountFailureReason":{ @@ -1262,7 +1263,8 @@ "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", - "MISSING_PAYMENT_INSTRUMENT" + "MISSING_PAYMENT_INSTRUMENT", + "INVALID_PAYMENT_INSTRUMENT" ] }, "CreateAccountName":{ diff --git a/apis/organizations/2016-11-28/docs-2.json b/apis/organizations/2016-11-28/docs-2.json index 79ef969d5f5..dfa240a812a 100644 --- a/apis/organizations/2016-11-28/docs-2.json +++ b/apis/organizations/2016-11-28/docs-2.json @@ -5,7 +5,7 @@ "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 Organizations User Guide for information about each policy type:

This operation can be called only from the organization's management 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.

", - "CloseAccount": "

Closes an Amazon Web Services account that is now a part of an Organizations, either created within the organization, or invited to join the organization.

", + "CloseAccount": "

Closes an Amazon Web Services member account within an organization. You can't close the management account with this API. This is an asynchronous request that Amazon Web Services performs in the background. Because CloseAccount operates asynchronously, it can return a successful completion message even though account closure might still be in progress. You need to wait a few minutes before the account is fully closed. To check the status of the request, do one of the following:

For more information about closing accounts, see Closing an Amazon Web Services account in the Organizations User Guide.

", "CreateAccount": "

Creates an Amazon Web Services account that is automatically a member of the organization whose credentials made the request. This is an asynchronous request that Amazon Web Services 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, Organizations creates the required service-linked role named AWSServiceRoleForOrganizations. For more information, see Organizations and Service-Linked Roles in the Organizations User Guide.

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

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

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

For more information about creating accounts, see Creating an Amazon Web Services account in Your Organization in the 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:

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

Amazon Web Services automatically enables CloudTrail for Amazon Web Services 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 management account of your organization in the commercial Region to create a standalone Amazon Web Services account in the Amazon Web Services GovCloud (US) Region. After the account is created, the management account of an organization in the Amazon Web Services GovCloud (US) Region can invite it to that organization. For more information on inviting standalone accounts in the Amazon Web Services GovCloud (US) to join an organization, see Organizations in the Amazon Web Services GovCloud User Guide.

Calling CreateGovCloudAccount is an asynchronous request that Amazon Web Services 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 Amazon Web Services 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 management account in the organization in the commercial Region to assume it. An Amazon Web Services GovCloud (US) account is then created and associated with the commercial account that you just created. A role is also created in the new Amazon Web Services GovCloud (US) account that can be assumed by the Amazon Web Services GovCloud (US) account that is associated with the management account of the commercial organization. For more information and to view a diagram that explains how account access works, see Organizations in the Amazon Web Services GovCloud User Guide.

For more information about creating accounts, see Creating an Amazon Web Services account in Your Organization in the 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 Amazon Web Services organization. The account whose user is calling the CreateOrganization operation automatically becomes the management account of the new organization.

This operation must be called using credentials from the account that is to become the new organization's management 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

", @@ -252,7 +252,7 @@ } }, "ConstraintViolationException": { - "base": "

Performing this operation violates a minimum or maximum value limit. For example, attempting to remove the last service control policy (SCP) from an OU or root, inviting or creating too many accounts to the organization, or attaching too many policies to an account, OU, or root. This exception includes a reason that contains additional information about the violated limit:

Some of the reasons in the following list might not be applicable to this specific API or operation.

", + "base": "

Performing this operation violates a minimum or maximum value limit. For example, attempting to remove the last service control policy (SCP) from an OU or root, inviting or creating too many accounts to the organization, or attaching too many policies to an account, OU, or root. This exception includes a reason that contains additional information about the violated limit:

Some of the reasons in the following list might not be applicable to this specific API or operation.

", "refs": { } }, @@ -265,7 +265,7 @@ "CreateAccountFailureReason": { "base": null, "refs": { - "CreateAccountStatus$FailureReason": "

If the request failed, a description of the reason for the failure.

" + "CreateAccountStatus$FailureReason": "

If the request failed, a description of the reason for the failure.

" } }, "CreateAccountName": { @@ -273,7 +273,7 @@ "refs": { "CreateAccountRequest$AccountName": "

The friendly name of the member account.

", "CreateAccountStatus$AccountName": "

The account name given to the account when it was created.

", - "CreateGovCloudAccountRequest$AccountName": "

The friendly name of the member account.

" + "CreateGovCloudAccountRequest$AccountName": "

The friendly name of the member account.

The account name can consist of only the characters [a-z],[A-Z],[0-9], hyphen (-), or dot (.) You can't separate characters with a dash (–).

" } }, "CreateAccountRequest": { diff --git a/apis/outposts/2019-12-03/api-2.json b/apis/outposts/2019-12-03/api-2.json index 2b1627b5903..9ca5f7d749b 100644 --- a/apis/outposts/2019-12-03/api-2.json +++ b/apis/outposts/2019-12-03/api-2.json @@ -199,6 +199,21 @@ {"shape":"InternalServerException"} ] }, + "ListAssets":{ + "name":"ListAssets", + "http":{ + "method":"GET", + "requestUri":"/outposts/{OutpostId}/assets" + }, + "input":{"shape":"ListAssetsInput"}, + "output":{"shape":"ListAssetsOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"NotFoundException"}, + {"shape":"InternalServerException"} + ] + }, "ListCatalogItems":{ "name":"ListCatalogItems", "http":{ @@ -431,6 +446,29 @@ "max":1011, "pattern":"^(arn:aws([a-z-]+)?:outposts:[a-z\\d-]+:\\d{12}:([a-z\\d-]+)/)[a-z]{2,8}-[a-f0-9]{17}$" }, + "AssetId":{ + "type":"string", + "max":100, + "min":1, + "pattern":"^(\\w+)$" + }, + "AssetInfo":{ + "type":"structure", + "members":{ + "AssetId":{"shape":"AssetId"}, + "RackId":{"shape":"RackId"}, + "AssetType":{"shape":"AssetType"}, + "ComputeAttributes":{"shape":"ComputeAttributes"} + } + }, + "AssetListDefinition":{ + "type":"list", + "member":{"shape":"AssetInfo"} + }, + "AssetType":{ + "type":"string", + "enum":["COMPUTE"] + }, "AvailabilityZone":{ "type":"string", "max":1000, @@ -523,6 +561,12 @@ "type":"list", "member":{"shape":"City"} }, + "ComputeAttributes":{ + "type":"structure", + "members":{ + "HostId":{"shape":"HostId"} + } + }, "ConflictException":{ "type":"structure", "members":{ @@ -814,6 +858,16 @@ "Site":{"shape":"Site"} } }, + "HostId":{ + "type":"string", + "max":50, + "min":1, + "pattern":"^[A-Za-z0-9-]*$" + }, + "HostIdList":{ + "type":"list", + "member":{"shape":"HostId"} + }, "ISO8601Timestamp":{"type":"timestamp"}, "InstanceType":{"type":"string"}, "InstanceTypeItem":{ @@ -899,6 +953,39 @@ "key":{"shape":"LineItemStatus"}, "value":{"shape":"LineItemQuantity"} }, + "ListAssetsInput":{ + "type":"structure", + "required":["OutpostIdentifier"], + "members":{ + "OutpostIdentifier":{ + "shape":"OutpostIdentifier", + "location":"uri", + "locationName":"OutpostId" + }, + "HostIdFilter":{ + "shape":"HostIdList", + "location":"querystring", + "locationName":"HostIdFilter" + }, + "MaxResults":{ + "shape":"MaxResults1000", + "location":"querystring", + "locationName":"MaxResults" + }, + "NextToken":{ + "shape":"Token", + "location":"querystring", + "locationName":"NextToken" + } + } + }, + "ListAssetsOutput":{ + "type":"structure", + "members":{ + "Assets":{"shape":"AssetListDefinition"}, + "NextToken":{"shape":"Token"} + } + }, "ListCatalogItemsInput":{ "type":"structure", "members":{ @@ -1268,6 +1355,12 @@ ] }, "Quantity":{"type":"string"}, + "RackId":{ + "type":"string", + "max":20, + "min":5, + "pattern":"^[\\S \\n]+$" + }, "RackPhysicalProperties":{ "type":"structure", "members":{ diff --git a/apis/outposts/2019-12-03/docs-2.json b/apis/outposts/2019-12-03/docs-2.json index af1b049d2e0..7ebb5ad199e 100644 --- a/apis/outposts/2019-12-03/docs-2.json +++ b/apis/outposts/2019-12-03/docs-2.json @@ -11,13 +11,14 @@ "GetCatalogItem": "

Gets information about a catalog item.

", "GetOrder": "

Gets an order.

", "GetOutpost": "

Gets information about the specified Outpost.

", - "GetOutpostInstanceTypes": "

Lists the instance types for the specified Outpost.

", + "GetOutpostInstanceTypes": "

Gets the instance types for the specified Outpost.

", "GetSite": "

Gets information about the specified Outpost site.

", "GetSiteAddress": "

Gets the site address.

", - "ListCatalogItems": "

Use to create a list of every item in the catalog. Add filters to your request to return a more specific list of results. Use filters to match an item class, storage option, or EC2 family.

If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.

", - "ListOrders": "

Create a list of the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to return a more specific list of results.

", - "ListOutposts": "

Create a list of the Outposts for your Amazon Web Services account. Add filters to your request to return a more specific list of results. Use filters to match an Outpost lifecycle status, Availability Zone (us-east-1a), and AZ ID (use1-az1).

If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.

", - "ListSites": "

Create a list of the Outpost sites for your Amazon Web Services account. Add operating address filters to your request to return a more specific list of results. Use filters to match site city, country code, or state/region of the operating address.

If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.

", + "ListAssets": "

Lists the hardware assets in an Outpost. If you are using Dedicated Hosts on Amazon Web Services Outposts, you can filter your request by host ID to return a list of hardware assets that allocate resources for Dedicated Hosts.

", + "ListCatalogItems": "

Lists the items in the catalog. Add filters to your request to return a more specific list of results. Use filters to match an item class, storage option, or EC2 family.

If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.

", + "ListOrders": "

Lists the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to return a more specific list of results.

", + "ListOutposts": "

Lists the Outposts for your Amazon Web Services account. Add filters to your request to return a more specific list of results. Use filters to match an Outpost lifecycle status, Availability Zone (us-east-1a), and AZ ID (use1-az1).

If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.

", + "ListSites": "

Lists the Outpost sites for your Amazon Web Services account. Add operating address filters to your request to return a more specific list of results. Use filters to match site city, country code, or state/region of the operating address.

If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.

", "ListTagsForResource": "

Lists the tags for the specified resource.

", "TagResource": "

Adds tags to the specified resource.

", "UntagResource": "

Removes tags from the specified resource.

", @@ -83,6 +84,30 @@ "UntagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the resource.

" } }, + "AssetId": { + "base": null, + "refs": { + "AssetInfo$AssetId": "

The ID of the asset.

" + } + }, + "AssetInfo": { + "base": "

Information about hardware assets.

", + "refs": { + "AssetListDefinition$member": null + } + }, + "AssetListDefinition": { + "base": null, + "refs": { + "ListAssetsOutput$Assets": "

Information about hardware assets.

" + } + }, + "AssetType": { + "base": null, + "refs": { + "AssetInfo$AssetType": "

The type of the asset.

" + } + }, "AvailabilityZone": { "base": "

The Availability Zone.

", "refs": { @@ -178,6 +203,12 @@ "ListSitesInput$OperatingAddressCityFilter": "

A filter for the city of the Outpost site.

Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

" } }, + "ComputeAttributes": { + "base": "

Information about compute hardware assets.

", + "refs": { + "AssetInfo$ComputeAttributes": "

Information about compute hardware assets.

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

Updating or deleting this resource can cause an inconsistent state.

", "refs": { @@ -368,6 +399,19 @@ "refs": { } }, + "HostId": { + "base": null, + "refs": { + "ComputeAttributes$HostId": "

The host ID of any Dedicated Hosts on the asset.

", + "HostIdList$member": null + } + }, + "HostIdList": { + "base": null, + "refs": { + "ListAssetsInput$HostIdFilter": "

A filter for the host ID of Dedicated Hosts on the Outpost.

Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

" + } + }, "ISO8601Timestamp": { "base": null, "refs": { @@ -464,6 +508,16 @@ "OrderSummary$LineItemCountsByStatus": "

The status of all line items in the order.

" } }, + "ListAssetsInput": { + "base": null, + "refs": { + } + }, + "ListAssetsOutput": { + "base": null, + "refs": { + } + }, "ListCatalogItemsInput": { "base": null, "refs": { @@ -518,6 +572,7 @@ "base": "

The maximum page size.

", "refs": { "GetOutpostInstanceTypesInput$MaxResults": null, + "ListAssetsInput$MaxResults": null, "ListCatalogItemsInput$MaxResults": null, "ListOrdersInput$MaxResults": null, "ListOutpostsInput$MaxResults": null, @@ -642,6 +697,7 @@ "base": null, "refs": { "CreateOrderInput$OutpostIdentifier": "

The ID or the Amazon Resource Name (ARN) of the Outpost.

", + "ListAssetsInput$OutpostIdentifier": "

The ID or the Amazon Resource Name (ARN) of the Outpost.

", "ListOrdersInput$OutpostIdentifierFilter": "

The ID or the Amazon Resource Name (ARN) of the Outpost.

" } }, @@ -712,6 +768,12 @@ "EC2Capacity$Quantity": "

The quantity of the EC2 capacity.

" } }, + "RackId": { + "base": null, + "refs": { + "AssetInfo$RackId": "

The rack ID of the asset.

" + } + }, "RackPhysicalProperties": { "base": "

Information about the physical and logistical details for racks at sites. For more information about hardware requirements for racks, see Network readiness checklist in the Amazon Web Services Outposts User Guide.

", "refs": { @@ -893,6 +955,8 @@ "refs": { "GetOutpostInstanceTypesInput$NextToken": null, "GetOutpostInstanceTypesOutput$NextToken": null, + "ListAssetsInput$NextToken": null, + "ListAssetsOutput$NextToken": null, "ListCatalogItemsInput$NextToken": null, "ListCatalogItemsOutput$NextToken": null, "ListOrdersInput$NextToken": null, diff --git a/apis/outposts/2019-12-03/paginators-1.json b/apis/outposts/2019-12-03/paginators-1.json index 8c53cd893a6..2aef900bb5a 100644 --- a/apis/outposts/2019-12-03/paginators-1.json +++ b/apis/outposts/2019-12-03/paginators-1.json @@ -1,5 +1,15 @@ { "pagination": { + "GetOutpostInstanceTypes": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, + "ListAssets": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, "ListCatalogItems": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/apis/synthetics/2017-10-11/api-2.json b/apis/synthetics/2017-10-11/api-2.json index 6d3eb64f124..db89cbddfd7 100644 --- a/apis/synthetics/2017-10-11/api-2.json +++ b/apis/synthetics/2017-10-11/api-2.json @@ -396,7 +396,20 @@ }, "CanaryStateReasonCode":{ "type":"string", - "enum":["INVALID_PERMISSIONS"] + "enum":[ + "INVALID_PERMISSIONS", + "CREATE_PENDING", + "CREATE_IN_PROGRESS", + "CREATE_FAILED", + "UPDATE_PENDING", + "UPDATE_IN_PROGRESS", + "UPDATE_COMPLETE", + "ROLLBACK_COMPLETE", + "ROLLBACK_FAILED", + "DELETE_IN_PROGRESS", + "DELETE_FAILED", + "SYNC_DELETE_IN_PROGRESS" + ] }, "CanaryStatus":{ "type":"structure", @@ -468,6 +481,11 @@ "shape":"CanaryName", "location":"uri", "locationName":"name" + }, + "DeleteLambda":{ + "shape":"boolean", + "location":"querystring", + "locationName":"deleteLambda" } } }, @@ -890,6 +908,7 @@ "SecurityGroupIds":{"shape":"SecurityGroupIds"} } }, - "VpcId":{"type":"string"} + "VpcId":{"type":"string"}, + "boolean":{"type":"boolean"} } } diff --git a/apis/synthetics/2017-10-11/docs-2.json b/apis/synthetics/2017-10-11/docs-2.json index b0d5f806296..305cdfcf75f 100644 --- a/apis/synthetics/2017-10-11/docs-2.json +++ b/apis/synthetics/2017-10-11/docs-2.json @@ -3,7 +3,7 @@ "service": "Amazon CloudWatch Synthetics

You can use Amazon CloudWatch Synthetics to continually monitor your services. You can create and manage canaries, which are modular, lightweight scripts that monitor your endpoints and APIs from the outside-in. You can set up your canaries to run 24 hours a day, once per minute. The canaries help you check the availability and latency of your web services and troubleshoot anomalies by investigating load time data, screenshots of the UI, logs, and metrics. The canaries seamlessly integrate with CloudWatch ServiceLens to help you trace the causes of impacted nodes in your applications. For more information, see Using ServiceLens to Monitor the Health of Your Applications in the Amazon CloudWatch User Guide.

Before you create and manage canaries, be aware of the security considerations. For more information, see Security Considerations for Synthetics Canaries.

", "operations": { "CreateCanary": "

Creates a canary. Canaries are scripts that monitor your endpoints and APIs from the outside-in. Canaries help you check the availability and latency of your web services and troubleshoot anomalies by investigating load time data, screenshots of the UI, logs, and metrics. You can set up a canary to run continuously or just once.

Do not use CreateCanary to modify an existing canary. Use UpdateCanary instead.

To create canaries, you must have the CloudWatchSyntheticsFullAccess policy. If you are creating a new IAM role for the canary, you also need the the iam:CreateRole, iam:CreatePolicy and iam:AttachRolePolicy permissions. For more information, see Necessary Roles and Permissions.

Do not include secrets or proprietary information in your canary names. The canary name makes up part of the Amazon Resource Name (ARN) for the canary, and the ARN is included in outbound calls over the internet. For more information, see Security Considerations for Synthetics Canaries.

", - "DeleteCanary": "

Permanently deletes the specified canary.

When you delete a canary, resources used and created by the canary are not automatically deleted. After you delete a canary that you do not intend to use again, you should also delete the following:

Before you delete a canary, you might want to use GetCanary to display the information about this canary. Make note of the information returned by this operation so that you can delete these resources after you delete the canary.

", + "DeleteCanary": "

Permanently deletes the specified canary.

If you specify DeleteLambda to true, CloudWatch Synthetics also deletes the Lambda functions and layers that are used by the canary.

Other esources used and created by the canary are not automatically deleted. After you delete a canary that you do not intend to use again, you should also delete the following:

Before you delete a canary, you might want to use GetCanary to display the information about this canary. Make note of the information returned by this operation so that you can delete these resources after you delete the canary.

", "DescribeCanaries": "

This operation returns a list of the canaries in your account, along with full details about each canary.

This operation supports resource-level authorization using an IAM policy and the Names parameter. If you specify the Names parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.

You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.

", "DescribeCanariesLastRun": "

Use this operation to see information from the most recent run of each canary that you have created.

This operation supports resource-level authorization using an IAM policy and the Names parameter. If you specify the Names parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.

You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.

", "DescribeRuntimeVersions": "

Returns a list of Synthetics canary runtime versions. For more information, see Canary Runtime Versions.

", @@ -654,6 +654,12 @@ "refs": { "VpcConfigOutput$VpcId": "

The IDs of the VPC where this canary is to run.

" } + }, + "boolean": { + "base": null, + "refs": { + "DeleteCanaryRequest$DeleteLambda": "

Specifies whether to also delete the Lambda functions and layers used by this canary. The default is false.

Type: Boolean

" + } } } } diff --git a/gems/aws-partitions/CHANGELOG.md b/gems/aws-partitions/CHANGELOG.md index 5423eb76c9a..64cf3eed39a 100644 --- a/gems/aws-partitions/CHANGELOG.md +++ b/gems/aws-partitions/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.582.0 (2022-05-02) +------------------ + +* Feature - Updated the partitions source data the determines the AWS service regions and endpoints. + 1.581.0 (2022-04-27) ------------------ diff --git a/gems/aws-partitions/VERSION b/gems/aws-partitions/VERSION index 629e9b19135..13ee58993d9 100644 --- a/gems/aws-partitions/VERSION +++ b/gems/aws-partitions/VERSION @@ -1 +1 @@ -1.581.0 +1.582.0 diff --git a/gems/aws-partitions/partitions.json b/gems/aws-partitions/partitions.json index b4d5cc45bd5..e2c1687b7bf 100644 --- a/gems/aws-partitions/partitions.json +++ b/gems/aws-partitions/partitions.json @@ -6638,6 +6638,13 @@ "us-west-2" : { } } }, + "ivschat" : { + "endpoints" : { + "eu-west-1" : { }, + "us-east-1" : { }, + "us-west-2" : { } + } + }, "kafka" : { "endpoints" : { "af-south-1" : { }, @@ -7707,6 +7714,38 @@ "us-east-1" : { } } }, + "media-pipelines-chime" : { + "endpoints" : { + "ap-southeast-1" : { }, + "eu-central-1" : { }, + "us-east-1" : { + "variants" : [ { + "hostname" : "media-pipelines-chime-fips.us-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-east-1-fips" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "deprecated" : true, + "hostname" : "media-pipelines-chime-fips.us-east-1.amazonaws.com" + }, + "us-west-2" : { + "variants" : [ { + "hostname" : "media-pipelines-chime-fips.us-west-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-2-fips" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "deprecated" : true, + "hostname" : "media-pipelines-chime-fips.us-west-2.amazonaws.com" + } + } + }, "mediaconnect" : { "endpoints" : { "ap-east-1" : { }, @@ -8475,6 +8514,7 @@ }, "nimble" : { "endpoints" : { + "ap-northeast-1" : { }, "ap-southeast-2" : { }, "ca-central-1" : { }, "eu-west-2" : { }, @@ -9746,6 +9786,7 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, @@ -18478,6 +18519,11 @@ "us-isob-east-1" : { } } }, + "ram" : { + "endpoints" : { + "us-isob-east-1" : { } + } + }, "rds" : { "endpoints" : { "us-isob-east-1" : { } diff --git a/gems/aws-sdk-organizations/CHANGELOG.md b/gems/aws-sdk-organizations/CHANGELOG.md index fb676c5b9b1..9e20c1e6633 100644 --- a/gems/aws-sdk-organizations/CHANGELOG.md +++ b/gems/aws-sdk-organizations/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.70.0 (2022-05-02) +------------------ + +* Feature - This release adds the INVALID_PAYMENT_INSTRUMENT as a fail reason and an error message. + 1.69.0 (2022-03-29) ------------------ diff --git a/gems/aws-sdk-organizations/VERSION b/gems/aws-sdk-organizations/VERSION index 49349856550..832e9afb6c1 100644 --- a/gems/aws-sdk-organizations/VERSION +++ b/gems/aws-sdk-organizations/VERSION @@ -1 +1 @@ -1.69.0 +1.70.0 diff --git a/gems/aws-sdk-organizations/lib/aws-sdk-organizations.rb b/gems/aws-sdk-organizations/lib/aws-sdk-organizations.rb index 303bbc2e97d..941e9f3ab94 100644 --- a/gems/aws-sdk-organizations/lib/aws-sdk-organizations.rb +++ b/gems/aws-sdk-organizations/lib/aws-sdk-organizations.rb @@ -48,6 +48,6 @@ # @!group service module Aws::Organizations - GEM_VERSION = '1.69.0' + GEM_VERSION = '1.70.0' end diff --git a/gems/aws-sdk-organizations/lib/aws-sdk-organizations/client.rb b/gems/aws-sdk-organizations/lib/aws-sdk-organizations/client.rb index dbccf2a29e9..3dc49435667 100644 --- a/gems/aws-sdk-organizations/lib/aws-sdk-organizations/client.rb +++ b/gems/aws-sdk-organizations/lib/aws-sdk-organizations/client.rb @@ -710,9 +710,52 @@ def cancel_handshake(params = {}, options = {}) req.send_request(options) end - # Closes an Amazon Web Services account that is now a part of an - # Organizations, either created within the organization, or invited to - # join the organization. + # Closes an Amazon Web Services member account within an organization. + # You can't close the management account with this API. This is an + # asynchronous request that Amazon Web Services performs in the + # background. Because `CloseAccount` operates asynchronously, it can + # return a successful completion message even though account closure + # might still be in progress. You need to wait a few minutes before the + # account is fully closed. To check the status of the request, do one of + # the following: + # + # * Use the `AccountId` that you sent in the `CloseAccount` request to + # provide as a parameter to the DescribeAccount operation. + # + # While the close account request is in progress, Account status will + # indicate PENDING\_CLOSURE. When the close account request completes, + # the status will change to SUSPENDED. + # + # * Check the CloudTrail log for the `CloseAccountResult` event that + # gets published after the account closes successfully. For + # information on using CloudTrail with Organizations, see [Logging and + # monitoring in Organizations][1] in the *Organizations User Guide.* + # + # * You can only close 10% of active member accounts within a rolling 30 + # day period. This quota is not bound by a calendar month, but starts + # when you close an account. Within 30 days of that initial account + # closure, you can't exceed the 10% account closure limit. + # + # * To reinstate a closed account, contact Amazon Web Services Support + # within the 90-day grace period while the account is in SUSPENDED + # status. + # + # * If the Amazon Web Services account you attempt to close is linked to + # an Amazon Web Services GovCloud (US) account, the `CloseAccount` + # request will close both accounts. To learn important pre-closure + # details, see [ Closing an Amazon Web Services GovCloud (US) + # account][2] in the Amazon Web Services GovCloud User Guide. + # + # + # + # For more information about closing accounts, see [Closing an Amazon + # Web Services account][3] in the *Organizations User Guide.* + # + # + # + # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_security_incident-response.html#orgs_cloudtrail-integration + # [2]: https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/Closing-govcloud-account.html + # [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html # # @option params [required, String] :account_id # Retrieves the Amazon Web Services account Id for the current @@ -970,7 +1013,7 @@ def close_account(params = {}, options = {}) # resp.create_account_status.completed_timestamp #=> Time # resp.create_account_status.account_id #=> String # resp.create_account_status.gov_cloud_account_id #=> String - # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT" + # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT", "INVALID_PAYMENT_INSTRUMENT" # # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccount AWS API Documentation # @@ -1157,6 +1200,10 @@ def create_account(params = {}, options = {}) # @option params [required, String] :account_name # The friendly name of the member account. # + # The account name can consist of only the characters + # \[a-z\],\[A-Z\],\[0-9\], hyphen (-), or dot (.) You can't separate + # characters with a dash (–). + # # @option params [String] :role_name # (Optional) # @@ -1253,7 +1300,7 @@ def create_account(params = {}, options = {}) # resp.create_account_status.completed_timestamp #=> Time # resp.create_account_status.account_id #=> String # resp.create_account_status.gov_cloud_account_id #=> String - # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT" + # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT", "INVALID_PAYMENT_INSTRUMENT" # # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateGovCloudAccount AWS API Documentation # @@ -2038,7 +2085,7 @@ def describe_account(params = {}, options = {}) # resp.create_account_status.completed_timestamp #=> Time # resp.create_account_status.account_id #=> String # resp.create_account_status.gov_cloud_account_id #=> String - # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT" + # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT", "INVALID_PAYMENT_INSTRUMENT" # # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeCreateAccountStatus AWS API Documentation # @@ -3757,7 +3804,7 @@ def list_children(params = {}, options = {}) # resp.create_account_statuses[0].completed_timestamp #=> Time # resp.create_account_statuses[0].account_id #=> String # resp.create_account_statuses[0].gov_cloud_account_id #=> String - # resp.create_account_statuses[0].failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT" + # resp.create_account_statuses[0].failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT", "INVALID_PAYMENT_INSTRUMENT" # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListCreateAccountStatus AWS API Documentation @@ -5544,7 +5591,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-organizations' - context[:gem_version] = '1.69.0' + context[:gem_version] = '1.70.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb b/gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb index c1b2b2999c4..2693317b768 100644 --- a/gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb +++ b/gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb @@ -511,12 +511,24 @@ class ConflictException < Struct.new( # integrated with Organizations. You can designate only a member # account as a delegated administrator. # + # * CANNOT\_CLOSE\_MANAGEMENT\_ACCOUNT: You attempted to close the + # management account. To close the management account for the + # organization, you must first either remove or close all member + # accounts in the organization. Follow standard account closure + # process using root credentials.​ + # # * CANNOT\_REMOVE\_DELEGATED\_ADMINISTRATOR\_FROM\_ORG: You attempted # to remove an account that is registered as a delegated administrator # for a service integrated with your organization. To complete this # operation, you must first deregister this account as a delegated # administrator. # + # * CLOSE\_ACCOUNT\_QUOTA\_EXCEEDED: You have exceeded close account + # quota for the past 30 days. + # + # * CLOSE\_ACCOUNT\_REQUESTS\_LIMIT\_EXCEEDED: You attempted to exceed + # the number of accounts that you can close at a time. ​ + # # * CREATE\_ORGANIZATION\_IN\_BILLING\_MODE\_UNSUPPORTED\_REGION: To # create an organization in the specified region, you must enable all # features mode. @@ -534,6 +546,12 @@ class ConflictException < Struct.new( # * HANDSHAKE\_RATE\_LIMIT\_EXCEEDED: You attempted to exceed the number # of handshakes that you can send in one day. # + # * INVALID\_PAYMENT\_INSTRUMENT: You cannot remove an account because + # no supported payment method is associated with the account. Amazon + # Web Services does not support cards issued by financial institutions + # in Russia or Belarus. For more information, see [Managing your + # Amazon Web Services payments][3]. + # # * MASTER\_ACCOUNT\_ADDRESS\_DOES\_NOT\_MATCH\_MARKETPLACE: To create # an account in this organization, you first must migrate the # organization's management account to the marketplace that @@ -554,13 +572,13 @@ class ConflictException < Struct.new( # * MASTER\_ACCOUNT\_NOT\_GOVCLOUD\_ENABLED: To complete this operation, # the management account must have an associated account in the Amazon # Web Services GovCloud (US-West) Region. For more information, see - # [Organizations][3] in the *Amazon Web Services GovCloud User Guide.* + # [Organizations][4] in the *Amazon Web Services GovCloud User Guide.* # # * MASTER\_ACCOUNT\_PAYMENT\_INSTRUMENT\_REQUIRED: To create an # organization with this management account, you first must associate # a valid payment instrument, such as a credit card, with the account. # Follow the steps at [To leave an organization when all required - # account information has not yet been provided][4] in the + # account information has not yet been provided][5] in the # *Organizations User Guide.* # # * MAX\_DELEGATED\_ADMINISTRATORS\_FOR\_SERVICE\_LIMIT\_EXCEEDED: You @@ -578,7 +596,7 @@ class ConflictException < Struct.new( # operation with this member account, you first must associate a valid # payment instrument, such as a credit card, with the account. Follow # the steps at [To leave an organization when all required account - # information has not yet been provided][4] in the *Organizations User + # information has not yet been provided][5] in the *Organizations User # Guide.* # # * MIN\_POLICY\_TYPE\_ATTACHMENT\_LIMIT\_EXCEEDED: You attempted to @@ -620,8 +638,9 @@ class ConflictException < Struct.new( # # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master # [2]: https://docs.aws.amazon.com/support/home#/ - # [3]: https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html - # [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info + # [3]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html + # [4]: https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html + # [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info # # @!attribute [rw] message # @return [String] @@ -881,6 +900,13 @@ class CreateAccountResponse < Struct.new( # * INVALID\_EMAIL: The account could not be created because the email # address you provided is not valid. # + # * INVALID\_PAYMENT\_INSTRUMENT: The Amazon Web Services account that + # owns your organization does not have a supported payment method + # associated with the account. Amazon Web Services does not support + # cards issued by financial institutions in Russia or Belarus. For + # more information, see [Managing your Amazon Web Services + # payments][1]. + # # * INTERNAL\_FAILURE: The account could not be created because of an # internal failure. Try again later. If the problem persists, # contact Amazon Web Services Customer Support. @@ -898,6 +924,10 @@ class CreateAccountResponse < Struct.new( # * UNKNOWN\_BUSINESS\_VALIDATION: The Amazon Web Services account # that owns your organization has an unknown issue with business # license validation. + # + # + # + # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccountStatus AWS API Documentation @@ -984,6 +1014,10 @@ class CreateAccountStatusNotFoundException < Struct.new( # # @!attribute [rw] account_name # The friendly name of the member account. + # + # The account name can consist of only the characters + # \[a-z\],\[A-Z\],\[0-9\], hyphen (-), or dot (.) You can't separate + # characters with a dash (–). # @return [String] # # @!attribute [rw] role_name diff --git a/gems/aws-sdk-outposts/CHANGELOG.md b/gems/aws-sdk-outposts/CHANGELOG.md index e848f3165c4..58915e88e3c 100644 --- a/gems/aws-sdk-outposts/CHANGELOG.md +++ b/gems/aws-sdk-outposts/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.31.0 (2022-05-02) +------------------ + +* Feature - This release adds a new API called ListAssets to the Outposts SDK, which lists the hardware assets in an Outpost. + 1.30.0 (2022-03-11) ------------------ diff --git a/gems/aws-sdk-outposts/VERSION b/gems/aws-sdk-outposts/VERSION index 034552a83ee..34aae156b19 100644 --- a/gems/aws-sdk-outposts/VERSION +++ b/gems/aws-sdk-outposts/VERSION @@ -1 +1 @@ -1.30.0 +1.31.0 diff --git a/gems/aws-sdk-outposts/lib/aws-sdk-outposts.rb b/gems/aws-sdk-outposts/lib/aws-sdk-outposts.rb index f70982e7a6a..370e06869aa 100644 --- a/gems/aws-sdk-outposts/lib/aws-sdk-outposts.rb +++ b/gems/aws-sdk-outposts/lib/aws-sdk-outposts.rb @@ -48,6 +48,6 @@ # @!group service module Aws::Outposts - GEM_VERSION = '1.30.0' + GEM_VERSION = '1.31.0' end diff --git a/gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb b/gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb index 9605b578887..80df3eb133a 100644 --- a/gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb +++ b/gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb @@ -776,7 +776,7 @@ def get_outpost(params = {}, options = {}) req.send_request(options) end - # Lists the instance types for the specified Outpost. + # Gets the instance types for the specified Outpost. # # @option params [required, String] :outpost_id # The ID or the Amazon Resource Name (ARN) of the Outpost. @@ -794,6 +794,8 @@ def get_outpost(params = {}, options = {}) # * {Types::GetOutpostInstanceTypesOutput#outpost_id #outpost_id} => String # * {Types::GetOutpostInstanceTypesOutput#outpost_arn #outpost_arn} => String # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # # @example Request syntax with placeholder values # # resp = client.get_outpost_instance_types({ @@ -912,9 +914,64 @@ def get_site_address(params = {}, options = {}) req.send_request(options) end - # Use to create a list of every item in the catalog. Add filters to your - # request to return a more specific list of results. Use filters to - # match an item class, storage option, or EC2 family. + # Lists the hardware assets in an Outpost. If you are using Dedicated + # Hosts on Amazon Web Services Outposts, you can filter your request by + # host ID to return a list of hardware assets that allocate resources + # for Dedicated Hosts. + # + # @option params [required, String] :outpost_identifier + # The ID or the Amazon Resource Name (ARN) of the Outpost. + # + # @option params [Array] :host_id_filter + # A filter for the host ID of Dedicated Hosts on the Outpost. + # + # Filter values are case sensitive. If you specify multiple values for a + # filter, the values are joined with an `OR`, and the request returns + # all results that match any of the specified values. + # + # @option params [Integer] :max_results + # The maximum page size. + # + # @option params [String] :next_token + # The pagination token. + # + # @return [Types::ListAssetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListAssetsOutput#assets #assets} => Array<Types::AssetInfo> + # * {Types::ListAssetsOutput#next_token #next_token} => String + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.list_assets({ + # outpost_identifier: "OutpostIdentifier", # required + # host_id_filter: ["HostId"], + # max_results: 1, + # next_token: "Token", + # }) + # + # @example Response structure + # + # resp.assets #=> Array + # resp.assets[0].asset_id #=> String + # resp.assets[0].rack_id #=> String + # resp.assets[0].asset_type #=> String, one of "COMPUTE" + # resp.assets[0].compute_attributes.host_id #=> String + # resp.next_token #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListAssets AWS API Documentation + # + # @overload list_assets(params = {}) + # @param [Hash] params ({}) + def list_assets(params = {}, options = {}) + req = build_request(:list_assets, params) + req.send_request(options) + end + + # Lists the items in the catalog. Add filters to your request to return + # a more specific list of results. Use filters to match an item class, + # storage option, or EC2 family. # # If you specify multiple filters, the filters are joined with an `AND`, # and the request returns only results that match all of the specified @@ -990,9 +1047,9 @@ def list_catalog_items(params = {}, options = {}) req.send_request(options) end - # Create a list of the Outpost orders for your Amazon Web Services - # account. You can filter your request by Outpost to return a more - # specific list of results. + # Lists the Outpost orders for your Amazon Web Services account. You can + # filter your request by Outpost to return a more specific list of + # results. # # @option params [String] :outpost_identifier_filter # The ID or the Amazon Resource Name (ARN) of the Outpost. @@ -1040,9 +1097,9 @@ def list_orders(params = {}, options = {}) req.send_request(options) end - # Create a list of the Outposts for your Amazon Web Services account. - # Add filters to your request to return a more specific list of results. - # Use filters to match an Outpost lifecycle status, Availability Zone + # Lists the Outposts for your Amazon Web Services account. Add filters + # to your request to return a more specific list of results. Use filters + # to match an Outpost lifecycle status, Availability Zone # (`us-east-1a`), and AZ ID (`use1-az1`). # # If you specify multiple filters, the filters are joined with an `AND`, @@ -1120,10 +1177,10 @@ def list_outposts(params = {}, options = {}) req.send_request(options) end - # Create a list of the Outpost sites for your Amazon Web Services - # account. Add operating address filters to your request to return a - # more specific list of results. Use filters to match site city, country - # code, or state/region of the operating address. + # Lists the Outpost sites for your Amazon Web Services account. Add + # operating address filters to your request to return a more specific + # list of results. Use filters to match site city, country code, or + # state/region of the operating address. # # If you specify multiple filters, the filters are joined with an `AND`, # and the request returns only results that match all of the specified @@ -1641,7 +1698,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-outposts' - context[:gem_version] = '1.30.0' + context[:gem_version] = '1.31.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-outposts/lib/aws-sdk-outposts/client_api.rb b/gems/aws-sdk-outposts/lib/aws-sdk-outposts/client_api.rb index 77e68bd08b5..bb67c18e206 100644 --- a/gems/aws-sdk-outposts/lib/aws-sdk-outposts/client_api.rb +++ b/gems/aws-sdk-outposts/lib/aws-sdk-outposts/client_api.rb @@ -21,6 +21,10 @@ module ClientApi AddressLine3 = Shapes::StringShape.new(name: 'AddressLine3') AddressType = Shapes::StringShape.new(name: 'AddressType') Arn = Shapes::StringShape.new(name: 'Arn') + AssetId = Shapes::StringShape.new(name: 'AssetId') + AssetInfo = Shapes::StructureShape.new(name: 'AssetInfo') + AssetListDefinition = Shapes::ListShape.new(name: 'AssetListDefinition') + AssetType = Shapes::StringShape.new(name: 'AssetType') AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone') AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId') AvailabilityZoneIdList = Shapes::ListShape.new(name: 'AvailabilityZoneIdList') @@ -36,6 +40,7 @@ module ClientApi CatalogItemWeightLbs = Shapes::IntegerShape.new(name: 'CatalogItemWeightLbs') City = Shapes::StringShape.new(name: 'City') CityList = Shapes::ListShape.new(name: 'CityList') + ComputeAttributes = Shapes::StructureShape.new(name: 'ComputeAttributes') ConflictException = Shapes::StructureShape.new(name: 'ConflictException') ContactName = Shapes::StringShape.new(name: 'ContactName') ContactPhoneNumber = Shapes::StringShape.new(name: 'ContactPhoneNumber') @@ -70,6 +75,8 @@ module ClientApi GetSiteAddressOutput = Shapes::StructureShape.new(name: 'GetSiteAddressOutput') GetSiteInput = Shapes::StructureShape.new(name: 'GetSiteInput') GetSiteOutput = Shapes::StructureShape.new(name: 'GetSiteOutput') + HostId = Shapes::StringShape.new(name: 'HostId') + HostIdList = Shapes::ListShape.new(name: 'HostIdList') ISO8601Timestamp = Shapes::TimestampShape.new(name: 'ISO8601Timestamp') InstanceType = Shapes::StringShape.new(name: 'InstanceType') InstanceTypeItem = Shapes::StructureShape.new(name: 'InstanceTypeItem') @@ -85,6 +92,8 @@ module ClientApi LineItemRequestListDefinition = Shapes::ListShape.new(name: 'LineItemRequestListDefinition') LineItemStatus = Shapes::StringShape.new(name: 'LineItemStatus') LineItemStatusCounts = Shapes::MapShape.new(name: 'LineItemStatusCounts') + ListAssetsInput = Shapes::StructureShape.new(name: 'ListAssetsInput') + ListAssetsOutput = Shapes::StructureShape.new(name: 'ListAssetsOutput') ListCatalogItemsInput = Shapes::StructureShape.new(name: 'ListCatalogItemsInput') ListCatalogItemsOutput = Shapes::StructureShape.new(name: 'ListCatalogItemsOutput') ListOrdersInput = Shapes::StructureShape.new(name: 'ListOrdersInput') @@ -123,6 +132,7 @@ module ClientApi PowerFeedDrop = Shapes::StringShape.new(name: 'PowerFeedDrop') PowerPhase = Shapes::StringShape.new(name: 'PowerPhase') Quantity = Shapes::StringShape.new(name: 'Quantity') + RackId = Shapes::StringShape.new(name: 'RackId') RackPhysicalProperties = Shapes::StructureShape.new(name: 'RackPhysicalProperties') ResourceType = Shapes::StringShape.new(name: 'ResourceType') ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException') @@ -180,6 +190,14 @@ module ClientApi Address.add_member(:municipality, Shapes::ShapeRef.new(shape: Municipality, location_name: "Municipality")) Address.struct_class = Types::Address + AssetInfo.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, location_name: "AssetId")) + AssetInfo.add_member(:rack_id, Shapes::ShapeRef.new(shape: RackId, location_name: "RackId")) + AssetInfo.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, location_name: "AssetType")) + AssetInfo.add_member(:compute_attributes, Shapes::ShapeRef.new(shape: ComputeAttributes, location_name: "ComputeAttributes")) + AssetInfo.struct_class = Types::AssetInfo + + AssetListDefinition.member = Shapes::ShapeRef.new(shape: AssetInfo) + AvailabilityZoneIdList.member = Shapes::ShapeRef.new(shape: AvailabilityZoneId) AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone) @@ -204,6 +222,9 @@ module ClientApi CityList.member = Shapes::ShapeRef.new(shape: City) + ComputeAttributes.add_member(:host_id, Shapes::ShapeRef.new(shape: HostId, location_name: "HostId")) + ComputeAttributes.struct_class = Types::ComputeAttributes + ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId")) ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType")) @@ -307,6 +328,8 @@ module ClientApi GetSiteOutput.add_member(:site, Shapes::ShapeRef.new(shape: Site, location_name: "Site")) GetSiteOutput.struct_class = Types::GetSiteOutput + HostIdList.member = Shapes::ShapeRef.new(shape: HostId) + InstanceTypeItem.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "InstanceType")) InstanceTypeItem.struct_class = Types::InstanceTypeItem @@ -334,6 +357,16 @@ module ClientApi LineItemStatusCounts.key = Shapes::ShapeRef.new(shape: LineItemStatus) LineItemStatusCounts.value = Shapes::ShapeRef.new(shape: LineItemQuantity) + ListAssetsInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location: "uri", location_name: "OutpostId")) + ListAssetsInput.add_member(:host_id_filter, Shapes::ShapeRef.new(shape: HostIdList, location: "querystring", location_name: "HostIdFilter")) + ListAssetsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults")) + ListAssetsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken")) + ListAssetsInput.struct_class = Types::ListAssetsInput + + ListAssetsOutput.add_member(:assets, Shapes::ShapeRef.new(shape: AssetListDefinition, location_name: "Assets")) + ListAssetsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken")) + ListAssetsOutput.struct_class = Types::ListAssetsOutput + ListCatalogItemsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken")) ListCatalogItemsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults")) ListCatalogItemsInput.add_member(:item_class_filter, Shapes::ShapeRef.new(shape: CatalogItemClassList, location: "querystring", location_name: "ItemClassFilter")) @@ -661,6 +694,12 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) end) api.add_operation(:get_site, Seahorse::Model::Operation.new.tap do |o| @@ -687,6 +726,24 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: InternalServerException) end) + api.add_operation(:list_assets, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListAssets" + o.http_method = "GET" + o.http_request_uri = "/outposts/{OutpostId}/assets" + o.input = Shapes::ShapeRef.new(shape: ListAssetsInput) + o.output = Shapes::ShapeRef.new(shape: ListAssetsOutput) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + o.errors << Shapes::ShapeRef.new(shape: NotFoundException) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) + end) + api.add_operation(:list_catalog_items, Seahorse::Model::Operation.new.tap do |o| o.name = "ListCatalogItems" o.http_method = "GET" diff --git a/gems/aws-sdk-outposts/lib/aws-sdk-outposts/types.rb b/gems/aws-sdk-outposts/lib/aws-sdk-outposts/types.rb index 195b89db0d6..516789903e9 100644 --- a/gems/aws-sdk-outposts/lib/aws-sdk-outposts/types.rb +++ b/gems/aws-sdk-outposts/lib/aws-sdk-outposts/types.rb @@ -104,6 +104,35 @@ class Address < Struct.new( include Aws::Structure end + # Information about hardware assets. + # + # @!attribute [rw] asset_id + # The ID of the asset. + # @return [String] + # + # @!attribute [rw] rack_id + # The rack ID of the asset. + # @return [String] + # + # @!attribute [rw] asset_type + # The type of the asset. + # @return [String] + # + # @!attribute [rw] compute_attributes + # Information about compute hardware assets. + # @return [Types::ComputeAttributes] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/AssetInfo AWS API Documentation + # + class AssetInfo < Struct.new( + :asset_id, + :rack_id, + :asset_type, + :compute_attributes) + SENSITIVE = [] + include Aws::Structure + end + # @note When making an API call, you may pass CancelOrderInput # data as a hash: # @@ -172,6 +201,20 @@ class CatalogItem < Struct.new( include Aws::Structure end + # Information about compute hardware assets. + # + # @!attribute [rw] host_id + # The host ID of any Dedicated Hosts on the asset. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ComputeAttributes AWS API Documentation + # + class ComputeAttributes < Struct.new( + :host_id) + SENSITIVE = [] + include Aws::Structure + end + # Updating or deleting this resource can cause an inconsistent state. # # @!attribute [rw] message @@ -815,6 +858,64 @@ class LineItemRequest < Struct.new( include Aws::Structure end + # @note When making an API call, you may pass ListAssetsInput + # data as a hash: + # + # { + # outpost_identifier: "OutpostIdentifier", # required + # host_id_filter: ["HostId"], + # max_results: 1, + # next_token: "Token", + # } + # + # @!attribute [rw] outpost_identifier + # The ID or the Amazon Resource Name (ARN) of the Outpost. + # @return [String] + # + # @!attribute [rw] host_id_filter + # A filter for the host ID of Dedicated Hosts on the Outpost. + # + # Filter values are case sensitive. If you specify multiple values for + # a filter, the values are joined with an `OR`, and the request + # returns all results that match any of the specified values. + # @return [Array] + # + # @!attribute [rw] max_results + # The maximum page size. + # @return [Integer] + # + # @!attribute [rw] next_token + # The pagination token. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListAssetsInput AWS API Documentation + # + class ListAssetsInput < Struct.new( + :outpost_identifier, + :host_id_filter, + :max_results, + :next_token) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] assets + # Information about hardware assets. + # @return [Array] + # + # @!attribute [rw] next_token + # The pagination token. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListAssetsOutput AWS API Documentation + # + class ListAssetsOutput < Struct.new( + :assets, + :next_token) + SENSITIVE = [] + include Aws::Structure + end + # @note When making an API call, you may pass ListCatalogItemsInput # data as a hash: # diff --git a/gems/aws-sdk-sqs/CHANGELOG.md b/gems/aws-sdk-sqs/CHANGELOG.md index eed8ea6fbca..029cbe9fc41 100644 --- a/gems/aws-sdk-sqs/CHANGELOG.md +++ b/gems/aws-sdk-sqs/CHANGELOG.md @@ -1,6 +1,9 @@ Unreleased Changes ------------------ +1.51.1 (2022-05-02) +------------------ + * Issue - Parse the region from the `queue_url` param only if the component is exactly `sqs`. 1.51.0 (2022-02-24) diff --git a/gems/aws-sdk-sqs/VERSION b/gems/aws-sdk-sqs/VERSION index ba0a719118c..c73f500ec8c 100644 --- a/gems/aws-sdk-sqs/VERSION +++ b/gems/aws-sdk-sqs/VERSION @@ -1 +1 @@ -1.51.0 +1.51.1 diff --git a/gems/aws-sdk-sqs/lib/aws-sdk-sqs.rb b/gems/aws-sdk-sqs/lib/aws-sdk-sqs.rb index 2c2fea68581..4e59eef09eb 100644 --- a/gems/aws-sdk-sqs/lib/aws-sdk-sqs.rb +++ b/gems/aws-sdk-sqs/lib/aws-sdk-sqs.rb @@ -50,6 +50,6 @@ # @!group service module Aws::SQS - GEM_VERSION = '1.51.0' + GEM_VERSION = '1.51.1' end diff --git a/gems/aws-sdk-sqs/lib/aws-sdk-sqs/client.rb b/gems/aws-sdk-sqs/lib/aws-sdk-sqs/client.rb index 37f857c08bd..c1f6e1bb2f3 100644 --- a/gems/aws-sdk-sqs/lib/aws-sdk-sqs/client.rb +++ b/gems/aws-sdk-sqs/lib/aws-sdk-sqs/client.rb @@ -2486,7 +2486,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-sqs' - context[:gem_version] = '1.51.0' + context[:gem_version] = '1.51.1' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-synthetics/CHANGELOG.md b/gems/aws-sdk-synthetics/CHANGELOG.md index 0e96a845464..75b06d7a989 100644 --- a/gems/aws-sdk-synthetics/CHANGELOG.md +++ b/gems/aws-sdk-synthetics/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.27.0 (2022-05-02) +------------------ + +* Feature - CloudWatch Synthetics has introduced a new feature to provide customers with an option to delete the underlying resources that Synthetics canary creates when the user chooses to delete the canary. + 1.26.0 (2022-03-04) ------------------ diff --git a/gems/aws-sdk-synthetics/VERSION b/gems/aws-sdk-synthetics/VERSION index 5ff8c4f5d2a..5db08bf2dc5 100644 --- a/gems/aws-sdk-synthetics/VERSION +++ b/gems/aws-sdk-synthetics/VERSION @@ -1 +1 @@ -1.26.0 +1.27.0 diff --git a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics.rb b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics.rb index c03475abd85..d87998c2abf 100644 --- a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics.rb +++ b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics.rb @@ -48,6 +48,6 @@ # @!group service module Aws::Synthetics - GEM_VERSION = '1.26.0' + GEM_VERSION = '1.27.0' end diff --git a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client.rb b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client.rb index b67a22a96b4..79522b63d52 100644 --- a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client.rb +++ b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client.rb @@ -533,7 +533,7 @@ def initialize(*args) # resp.canary.failure_retention_period_in_days #=> Integer # resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING" # resp.canary.status.state_reason #=> String - # resp.canary.status.state_reason_code #=> String, one of "INVALID_PERMISSIONS" + # resp.canary.status.state_reason_code #=> String, one of "INVALID_PERMISSIONS", "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "SYNC_DELETE_IN_PROGRESS" # resp.canary.timeline.created #=> Time # resp.canary.timeline.last_modified #=> Time # resp.canary.timeline.last_started #=> Time @@ -567,12 +567,12 @@ def create_canary(params = {}, options = {}) # Permanently deletes the specified canary. # - # When you delete a canary, resources used and created by the canary are - # not automatically deleted. After you delete a canary that you do not - # intend to use again, you should also delete the following: + # If you specify `DeleteLambda` to `true`, CloudWatch Synthetics also + # deletes the Lambda functions and layers that are used by the canary. # - # * The Lambda functions and layers used by this canary. These have the - # prefix `cwsyn-MyCanaryName `. + # Other esources used and created by the canary are not automatically + # deleted. After you delete a canary that you do not intend to use + # again, you should also delete the following: # # * The CloudWatch alarms created for this canary. These alarms have a # name of `Synthetics-SharpDrop-Alarm-MyCanaryName `. @@ -600,12 +600,19 @@ def create_canary(params = {}, options = {}) # # [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html # + # @option params [Boolean] :delete_lambda + # Specifies whether to also delete the Lambda functions and layers used + # by this canary. The default is false. + # + # Type: Boolean + # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.delete_canary({ # name: "CanaryName", # required + # delete_lambda: false, # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DeleteCanary AWS API Documentation @@ -696,7 +703,7 @@ def delete_canary(params = {}, options = {}) # resp.canaries[0].failure_retention_period_in_days #=> Integer # resp.canaries[0].status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING" # resp.canaries[0].status.state_reason #=> String - # resp.canaries[0].status.state_reason_code #=> String, one of "INVALID_PERMISSIONS" + # resp.canaries[0].status.state_reason_code #=> String, one of "INVALID_PERMISSIONS", "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "SYNC_DELETE_IN_PROGRESS" # resp.canaries[0].timeline.created #=> Time # resp.canaries[0].timeline.last_modified #=> Time # resp.canaries[0].timeline.last_started #=> Time @@ -900,7 +907,7 @@ def describe_runtime_versions(params = {}, options = {}) # resp.canary.failure_retention_period_in_days #=> Integer # resp.canary.status.state #=> String, one of "CREATING", "READY", "STARTING", "RUNNING", "UPDATING", "STOPPING", "STOPPED", "ERROR", "DELETING" # resp.canary.status.state_reason #=> String - # resp.canary.status.state_reason_code #=> String, one of "INVALID_PERMISSIONS" + # resp.canary.status.state_reason_code #=> String, one of "INVALID_PERMISSIONS", "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_PENDING", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "SYNC_DELETE_IN_PROGRESS" # resp.canary.timeline.created #=> Time # resp.canary.timeline.last_modified #=> Time # resp.canary.timeline.last_started #=> Time @@ -1335,7 +1342,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-synthetics' - context[:gem_version] = '1.26.0' + context[:gem_version] = '1.27.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client_api.rb b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client_api.rb index 10f3e60536d..2522d317003 100644 --- a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client_api.rb +++ b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client_api.rb @@ -111,6 +111,7 @@ module ClientApi VpcConfigInput = Shapes::StructureShape.new(name: 'VpcConfigInput') VpcConfigOutput = Shapes::StructureShape.new(name: 'VpcConfigOutput') VpcId = Shapes::StringShape.new(name: 'VpcId') + boolean = Shapes::BooleanShape.new(name: 'boolean') ArtifactConfigInput.add_member(:s3_encryption, Shapes::ShapeRef.new(shape: S3EncryptionConfig, location_name: "S3Encryption")) ArtifactConfigInput.struct_class = Types::ArtifactConfigInput @@ -233,6 +234,7 @@ module ClientApi CreateCanaryResponse.struct_class = Types::CreateCanaryResponse DeleteCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location: "uri", location_name: "name")) + DeleteCanaryRequest.add_member(:delete_lambda, Shapes::ShapeRef.new(shape: boolean, location: "querystring", location_name: "deleteLambda")) DeleteCanaryRequest.struct_class = Types::DeleteCanaryRequest DeleteCanaryResponse.struct_class = Types::DeleteCanaryResponse diff --git a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb index 32801ef6859..3396f768795 100644 --- a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb +++ b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb @@ -860,6 +860,7 @@ class CreateCanaryResponse < Struct.new( # # { # name: "CanaryName", # required + # delete_lambda: false, # } # # @!attribute [rw] name @@ -871,10 +872,18 @@ class CreateCanaryResponse < Struct.new( # [1]: https://docs.aws.amazon.com/AmazonSynthetics/latest/APIReference/API_DescribeCanaries.html # @return [String] # + # @!attribute [rw] delete_lambda + # Specifies whether to also delete the Lambda functions and layers + # used by this canary. The default is false. + # + # Type: Boolean + # @return [Boolean] + # # @see http://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DeleteCanaryRequest AWS API Documentation # class DeleteCanaryRequest < Struct.new( - :name) + :name, + :delete_lambda) SENSITIVE = [] include Aws::Structure end