From 24b4999aedde9bc96a27982cb2cba2a07a4cbf81 Mon Sep 17 00:00:00 2001 From: AWS SDK for Ruby Date: Mon, 16 May 2022 18:04:51 +0000 Subject: [PATCH] Updated API models and rebuilt service gems. --- apis/cloudfront/2020-05-31/api-2.json | 14 +- apis/cloudfront/2020-05-31/docs-2.json | 6 + apis/discovery/2015-11-01/api-2.json | 113 ++++- apis/discovery/2015-11-01/docs-2.json | 80 ++-- apis/rekognition/2016-06-27/docs-2.json | 4 +- apis/resiliencehub/2020-04-30/api-2.json | 91 +++- apis/resiliencehub/2020-04-30/docs-2.json | 177 +++++--- apis/servicecatalog/2015-12-10/docs-2.json | 6 +- apis/sts/2011-06-15/docs-2.json | 2 +- apis/workspaces-web/2020-07-08/api-2.json | 42 +- apis/workspaces-web/2020-07-08/docs-2.json | 24 +- .../CHANGELOG.md | 5 + .../VERSION | 2 +- .../aws-sdk-applicationdiscoveryservice.rb | 2 +- .../client.rb | 101 +++-- .../client_api.rb | 24 +- .../types.rb | 172 ++++++-- gems/aws-sdk-cloudfront/CHANGELOG.md | 5 + gems/aws-sdk-cloudfront/VERSION | 2 +- .../lib/aws-sdk-cloudfront.rb | 2 +- .../lib/aws-sdk-cloudfront/client.rb | 2 +- .../lib/aws-sdk-cloudfront/client_api.rb | 6 + .../lib/aws-sdk-cloudfront/errors.rb | 16 + .../lib/aws-sdk-cloudfront/types.rb | 21 + gems/aws-sdk-core/CHANGELOG.md | 5 + gems/aws-sdk-core/VERSION | 2 +- gems/aws-sdk-core/lib/aws-sdk-sso.rb | 2 +- gems/aws-sdk-core/lib/aws-sdk-sso/client.rb | 2 +- gems/aws-sdk-core/lib/aws-sdk-sts.rb | 2 +- gems/aws-sdk-core/lib/aws-sdk-sts/client.rb | 19 +- gems/aws-sdk-rekognition/CHANGELOG.md | 5 + gems/aws-sdk-rekognition/VERSION | 2 +- .../lib/aws-sdk-rekognition.rb | 2 +- .../lib/aws-sdk-rekognition/client.rb | 4 +- gems/aws-sdk-resiliencehub/CHANGELOG.md | 5 + gems/aws-sdk-resiliencehub/VERSION | 2 +- .../lib/aws-sdk-resiliencehub.rb | 2 +- .../lib/aws-sdk-resiliencehub/client.rb | 141 +++++-- .../lib/aws-sdk-resiliencehub/client_api.rb | 42 +- .../lib/aws-sdk-resiliencehub/types.rb | 394 ++++++++++++------ gems/aws-sdk-servicecatalog/CHANGELOG.md | 5 + gems/aws-sdk-servicecatalog/VERSION | 2 +- .../lib/aws-sdk-servicecatalog.rb | 2 +- .../lib/aws-sdk-servicecatalog/client.rb | 17 +- .../lib/aws-sdk-servicecatalog/types.rb | 12 +- gems/aws-sdk-sts/CHANGELOG.md | 5 + gems/aws-sdk-sts/VERSION | 2 +- gems/aws-sdk-workspacesweb/CHANGELOG.md | 5 + gems/aws-sdk-workspacesweb/VERSION | 2 +- .../lib/aws-sdk-workspacesweb.rb | 2 +- .../lib/aws-sdk-workspacesweb/client.rb | 95 ++++- .../lib/aws-sdk-workspacesweb/client_api.rb | 11 + .../lib/aws-sdk-workspacesweb/types.rb | 145 ++++++- 53 files changed, 1407 insertions(+), 448 deletions(-) diff --git a/apis/cloudfront/2020-05-31/api-2.json b/apis/cloudfront/2020-05-31/api-2.json index 5549875697b..80574e745f7 100644 --- a/apis/cloudfront/2020-05-31/api-2.json +++ b/apis/cloudfront/2020-05-31/api-2.json @@ -388,7 +388,8 @@ {"shape":"InvalidArgument"}, {"shape":"ResponseHeadersPolicyAlreadyExists"}, {"shape":"TooManyResponseHeadersPolicies"}, - {"shape":"TooManyCustomHeadersInResponseHeadersPolicy"} + {"shape":"TooManyCustomHeadersInResponseHeadersPolicy"}, + {"shape":"TooLongCSPInResponseHeadersPolicy"} ] }, "CreateStreamingDistribution":{ @@ -1596,7 +1597,8 @@ {"shape":"NoSuchResponseHeadersPolicy"}, {"shape":"PreconditionFailed"}, {"shape":"ResponseHeadersPolicyAlreadyExists"}, - {"shape":"TooManyCustomHeadersInResponseHeadersPolicy"} + {"shape":"TooManyCustomHeadersInResponseHeadersPolicy"}, + {"shape":"TooLongCSPInResponseHeadersPolicy"} ] }, "UpdateStreamingDistribution":{ @@ -6429,6 +6431,14 @@ "FunctionOutput":{"shape":"sensitiveStringType"} } }, + "TooLongCSPInResponseHeadersPolicy":{ + "type":"structure", + "members":{ + "Message":{"shape":"string"} + }, + "error":{"httpStatusCode":400}, + "exception":true + }, "TooManyCacheBehaviors":{ "type":"structure", "members":{ diff --git a/apis/cloudfront/2020-05-31/docs-2.json b/apis/cloudfront/2020-05-31/docs-2.json index a6fed26be7f..f71e0434d89 100644 --- a/apis/cloudfront/2020-05-31/docs-2.json +++ b/apis/cloudfront/2020-05-31/docs-2.json @@ -2709,6 +2709,11 @@ "TestFunctionResult$TestResult": "

An object that represents the result of running the function with the provided event object.

" } }, + "TooLongCSPInResponseHeadersPolicy": { + "base": "

The length of the Content-Security-Policy header value in the response headers policy exceeds the maximum.

For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

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

You cannot create more cache behaviors for the distribution.

", "refs": { @@ -3690,6 +3695,7 @@ "TestFunctionRequest$Name": "

The name of the function that you are testing.

", "TestFunctionRequest$IfMatch": "

The current version (ETag value) of the function that you are testing, which you can get using DescribeFunction.

", "TestResult$ComputeUtilization": "

The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

", + "TooLongCSPInResponseHeadersPolicy$Message": null, "TooManyCacheBehaviors$Message": null, "TooManyCachePolicies$Message": null, "TooManyCertificates$Message": null, diff --git a/apis/discovery/2015-11-01/api-2.json b/apis/discovery/2015-11-01/api-2.json index 3f12a99c747..b595192790d 100644 --- a/apis/discovery/2015-11-01/api-2.json +++ b/apis/discovery/2015-11-01/api-2.json @@ -443,7 +443,12 @@ "type":"list", "member":{"shape":"AgentConfigurationStatus"} }, - "AgentId":{"type":"string"}, + "AgentId":{ + "type":"string", + "max":20, + "min":10, + "pattern":"\\S+" + }, "AgentIds":{ "type":"list", "member":{"shape":"AgentId"} @@ -489,11 +494,25 @@ "type":"list", "member":{"shape":"AgentInfo"} }, - "ApplicationId":{"type":"string"}, + "ApplicationDescription":{ + "type":"string", + "max":1000, + "pattern":"(^$|[\\s\\S]*\\S[\\s\\S]*)" + }, + "ApplicationId":{ + "type":"string", + "max":200, + "pattern":"\\S+" + }, "ApplicationIdsList":{ "type":"list", "member":{"shape":"ApplicationId"} }, + "ApplicationName":{ + "type":"string", + "max":127, + "pattern":"[\\s\\S]*\\S[\\s\\S]*" + }, "AssociateConfigurationItemsToApplicationRequest":{ "type":"structure", "required":[ @@ -561,13 +580,21 @@ "max":100, "min":1 }, - "Condition":{"type":"string"}, + "Condition":{ + "type":"string", + "max":200, + "pattern":"\\S+" + }, "Configuration":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"String"} }, - "ConfigurationId":{"type":"string"}, + "ConfigurationId":{ + "type":"string", + "max":200, + "pattern":"\\S*" + }, "ConfigurationIdList":{ "type":"list", "member":{"shape":"ConfigurationId"} @@ -600,7 +627,11 @@ "member":{"shape":"Configuration"} }, "ConfigurationsDownloadUrl":{"type":"string"}, - "ConfigurationsExportId":{"type":"string"}, + "ConfigurationsExportId":{ + "type":"string", + "max":200, + "pattern":"\\S*" + }, "ConflictErrorException":{ "type":"structure", "members":{ @@ -645,8 +676,8 @@ "type":"structure", "required":["name"], "members":{ - "name":{"shape":"String"}, - "description":{"shape":"String"} + "name":{"shape":"ApplicationName"}, + "description":{"shape":"ApplicationDescription"} } }, "CreateApplicationResponse":{ @@ -713,6 +744,27 @@ "unknownConnectors":{"shape":"Integer"} } }, + "CustomerMeCollectorInfo":{ + "type":"structure", + "required":[ + "activeMeCollectors", + "healthyMeCollectors", + "denyListedMeCollectors", + "shutdownMeCollectors", + "unhealthyMeCollectors", + "totalMeCollectors", + "unknownMeCollectors" + ], + "members":{ + "activeMeCollectors":{"shape":"Integer"}, + "healthyMeCollectors":{"shape":"Integer"}, + "denyListedMeCollectors":{"shape":"Integer"}, + "shutdownMeCollectors":{"shape":"Integer"}, + "unhealthyMeCollectors":{"shape":"Integer"}, + "totalMeCollectors":{"shape":"Integer"}, + "unknownMeCollectors":{"shape":"Integer"} + } + }, "DataSource":{ "type":"string", "enum":["AGENT"] @@ -977,8 +1029,16 @@ "condition":{"shape":"Condition"} } }, - "FilterName":{"type":"string"}, - "FilterValue":{"type":"string"}, + "FilterName":{ + "type":"string", + "max":1000, + "pattern":"[\\s\\S]*\\S[\\s\\S]*" + }, + "FilterValue":{ + "type":"string", + "max":1000, + "pattern":"(^$|[\\s\\S]*\\S[\\s\\S]*)" + }, "FilterValues":{ "type":"list", "member":{"shape":"FilterValue"} @@ -1000,7 +1060,8 @@ "serversMappedToApplications":{"shape":"Long"}, "serversMappedtoTags":{"shape":"Long"}, "agentSummary":{"shape":"CustomerAgentInfo"}, - "connectorSummary":{"shape":"CustomerConnectorInfo"} + "connectorSummary":{"shape":"CustomerConnectorInfo"}, + "meCollectorSummary":{"shape":"CustomerMeCollectorInfo"} } }, "HomeRegionNotSetException":{ @@ -1070,7 +1131,11 @@ "max":100, "min":1 }, - "ImportTaskIdentifier":{"type":"string"}, + "ImportTaskIdentifier":{ + "type":"string", + "max":200, + "pattern":"\\S*" + }, "ImportTaskList":{ "type":"list", "member":{"shape":"ImportTask"} @@ -1078,12 +1143,14 @@ "ImportTaskName":{ "type":"string", "max":100, - "min":1 + "min":1, + "pattern":"[\\s\\S]*\\S[\\s\\S]*" }, "ImportURL":{ "type":"string", "max":4000, - "min":1 + "min":1, + "pattern":"\\S+:\\/\\/\\S+\\/[\\s\\S]*\\S[\\s\\S]*" }, "Integer":{"type":"integer"}, "InvalidParameterException":{ @@ -1171,10 +1238,15 @@ "type":"structure", "required":["fieldName"], "members":{ - "fieldName":{"shape":"String"}, + "fieldName":{"shape":"OrderByElementFieldName"}, "sortOrder":{"shape":"orderString"} } }, + "OrderByElementFieldName":{ + "type":"string", + "max":1000, + "pattern":"[\\s\\S]*\\S[\\s\\S]*" + }, "OrderByList":{ "type":"list", "member":{"shape":"OrderByElement"} @@ -1299,11 +1371,16 @@ "agentsConfigurationStatus":{"shape":"AgentConfigurationStatusList"} } }, - "String":{"type":"string"}, + "String":{ + "type":"string", + "max":10000, + "pattern":"[\\s\\S]*" + }, "StringMax255":{ "type":"string", "max":255, - "min":1 + "min":1, + "pattern":"[\\s\\S]*\\S[\\s\\S]*" }, "Tag":{ "type":"structure", @@ -1349,8 +1426,8 @@ "required":["configurationId"], "members":{ "configurationId":{"shape":"ApplicationId"}, - "name":{"shape":"String"}, - "description":{"shape":"String"} + "name":{"shape":"ApplicationName"}, + "description":{"shape":"ApplicationDescription"} } }, "UpdateApplicationResponse":{ diff --git a/apis/discovery/2015-11-01/docs-2.json b/apis/discovery/2015-11-01/docs-2.json index fef3fab89fd..e1c527c9739 100644 --- a/apis/discovery/2015-11-01/docs-2.json +++ b/apis/discovery/2015-11-01/docs-2.json @@ -1,17 +1,17 @@ { "version": "2.0", - "service": "AWS Application Discovery Service

AWS Application Discovery Service helps you plan application migration projects. It automatically identifies servers, virtual machines (VMs), and network dependencies in your on-premises data centers. For more information, see the AWS Application Discovery Service FAQ. Application Discovery Service offers three ways of performing discovery and collecting data about your on-premises servers:

Recommendations

We recommend that you use agent-based discovery for non-VMware environments, and whenever you want to collect information about network dependencies. You can run agent-based and agentless discovery simultaneously. Use agentless discovery to complete the initial infrastructure assessment quickly, and then install agents on select hosts to collect additional information.

Working With This Guide

This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for Application Discovery Service. The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the AWS SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see AWS SDKs.

This guide is intended for use with the AWS Application Discovery Service User Guide.

All data is handled according to the AWS Privacy Policy. You can operate Application Discovery Service offline to inspect collected data before it is shared with the service.

", + "service": "Amazon Web Services Application Discovery Service

Amazon Web Services Application Discovery Service helps you plan application migration projects. It automatically identifies servers, virtual machines (VMs), and network dependencies in your on-premises data centers. For more information, see the Amazon Web Services Application Discovery Service FAQ. Application Discovery Service offers three ways of performing discovery and collecting data about your on-premises servers:

Recommendations

We recommend that you use agent-based discovery for non-VMware environments, and whenever you want to collect information about network dependencies. You can run agent-based and agentless discovery simultaneously. Use agentless discovery to complete the initial infrastructure assessment quickly, and then install agents on select hosts to collect additional information.

Working With This Guide

This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for Application Discovery Service. The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see Amazon Web Services SDKs.

This guide is intended for use with the Amazon Web Services Application Discovery Service User Guide.

All data is handled according to the Amazon Web Services Privacy Policy. You can operate Application Discovery Service offline to inspect collected data before it is shared with the service.

", "operations": { "AssociateConfigurationItemsToApplication": "

Associates one or more configuration items with an application.

", - "BatchDeleteImportData": "

Deletes one or more import tasks, each identified by their import ID. Each import task has a number of records that can identify servers or applications.

AWS Application Discovery Service has built-in matching logic that will identify when discovered servers match existing entries that you've previously discovered, the information for the already-existing discovered server is updated. When you delete an import task that contains records that were used to match, the information in those matched records that comes from the deleted records will also be deleted.

", + "BatchDeleteImportData": "

Deletes one or more import tasks, each identified by their import ID. Each import task has a number of records that can identify servers or applications.

Amazon Web Services Application Discovery Service has built-in matching logic that will identify when discovered servers match existing entries that you've previously discovered, the information for the already-existing discovered server is updated. When you delete an import task that contains records that were used to match, the information in those matched records that comes from the deleted records will also be deleted.

", "CreateApplication": "

Creates an application with the given name and description.

", - "CreateTags": "

Creates one or more tags for configuration items. Tags are metadata that help you categorize IT assets. This API accepts a list of multiple configuration items.

", + "CreateTags": "

Creates one or more tags for configuration items. Tags are metadata that help you categorize IT assets. This API accepts a list of multiple configuration items.

Do not store sensitive information (like personal data) in tags.

", "DeleteApplications": "

Deletes a list of applications and their associations with configuration items.

", "DeleteTags": "

Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.

", "DescribeAgents": "

Lists agents or connectors as specified by ID or other filters. All agents/connectors associated with your user account can be listed if you call DescribeAgents as is without passing any parameters.

", - "DescribeConfigurations": "

Retrieves attributes for a list of configuration item IDs.

All of the supplied IDs must be for the same asset type from one of the following:

Output fields are specific to the asset type specified. For example, the output for a server configuration item includes a list of attributes about the server, such as host name, operating system, number of network cards, etc.

For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action in the AWS Application Discovery Service User Guide.

", + "DescribeConfigurations": "

Retrieves attributes for a list of configuration item IDs.

All of the supplied IDs must be for the same asset type from one of the following:

Output fields are specific to the asset type specified. For example, the output for a server configuration item includes a list of attributes about the server, such as host name, operating system, number of network cards, etc.

For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.

", "DescribeContinuousExports": "

Lists exports as specified by ID. All continuous exports associated with your user account can be listed if you call DescribeContinuousExports as is without passing any parameters.

", - "DescribeExportConfigurations": "

DescribeExportConfigurations is deprecated. Use DescribeImportTasks, instead.

", + "DescribeExportConfigurations": "

DescribeExportConfigurations is deprecated. Use DescribeExportTasks, instead.

", "DescribeExportTasks": "

Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.

", "DescribeImportTasks": "

Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.

", "DescribeTags": "

Retrieves a list of configuration items that have tags as specified by the key-value pairs, name and value, passed to the optional parameter filters.

There are three valid tag filter names:

Also, all configuration items associated with your user account that have tags can be listed if you call DescribeTags as is without passing any parameters.

", @@ -22,8 +22,8 @@ "ListServerNeighbors": "

Retrieves a list of servers that are one network hop away from a specified server.

", "StartContinuousExport": "

Start the continuous flow of agent's discovered data into Amazon Athena.

", "StartDataCollectionByAgentIds": "

Instructs the specified agents or connectors to start collecting data.

", - "StartExportTask": "

Begins the export of discovered data to an S3 bucket.

If you specify agentIds in a filter, the task exports up to 72 hours of detailed data collected by the identified Application Discovery Agent, including network, process, and performance details. A time range for exported agent data may be set by using startTime and endTime. Export of detailed agent data is limited to five concurrently running exports.

If you do not include an agentIds filter, summary data is exported that includes both AWS Agentless Discovery Connector data and summary data from AWS Discovery Agents. Export of summary data is limited to two exports per day.

", - "StartImportTask": "

Starts an import task, which allows you to import details of your on-premises environment directly into AWS Migration Hub without having to use the Application Discovery Service (ADS) tools such as the Discovery Connector or Discovery Agent. This gives you the option to perform migration assessment and planning directly from your imported data, including the ability to group your devices as applications and track their migration status.

To start an import request, do this:

  1. Download the specially formatted comma separated value (CSV) import template, which you can find here: https://s3-us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv.

  2. Fill out the template with your server and application data.

  3. Upload your import file to an Amazon S3 bucket, and make a note of it's Object URL. Your import file must be in the CSV format.

  4. Use the console or the StartImportTask command with the AWS CLI or one of the AWS SDKs to import the records from your file.

For more information, including step-by-step procedures, see Migration Hub Import in the AWS Application Discovery Service User Guide.

There are limits to the number of import tasks you can create (and delete) in an AWS account. For more information, see AWS Application Discovery Service Limits in the AWS Application Discovery Service User Guide.

", + "StartExportTask": "

Begins the export of discovered data to an S3 bucket.

If you specify agentIds in a filter, the task exports up to 72 hours of detailed data collected by the identified Application Discovery Agent, including network, process, and performance details. A time range for exported agent data may be set by using startTime and endTime. Export of detailed agent data is limited to five concurrently running exports.

If you do not include an agentIds filter, summary data is exported that includes both Amazon Web Services Agentless Discovery Connector data and summary data from Amazon Web Services Discovery Agents. Export of summary data is limited to two exports per day.

", + "StartImportTask": "

Starts an import task, which allows you to import details of your on-premises environment directly into Amazon Web Services Migration Hub without having to use the Application Discovery Service (ADS) tools such as the Discovery Connector or Discovery Agent. This gives you the option to perform migration assessment and planning directly from your imported data, including the ability to group your devices as applications and track their migration status.

To start an import request, do this:

  1. Download the specially formatted comma separated value (CSV) import template, which you can find here: https://s3.us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv.

  2. Fill out the template with your server and application data.

  3. Upload your import file to an Amazon S3 bucket, and make a note of it's Object URL. Your import file must be in the CSV format.

  4. Use the console or the StartImportTask command with the Amazon Web Services CLI or one of the Amazon Web Services SDKs to import the records from your file.

For more information, including step-by-step procedures, see Migration Hub Import in the Amazon Web Services Application Discovery Service User Guide.

There are limits to the number of import tasks you can create (and delete) in an Amazon Web Services account. For more information, see Amazon Web Services Application Discovery Service Limits in the Amazon Web Services Application Discovery Service User Guide.

", "StopContinuousExport": "

Stop the continuous flow of agent's discovered data into Amazon Athena.

", "StopDataCollectionByAgentIds": "

Instructs the specified agents or connectors to stop collecting data.

", "UpdateApplication": "

Updates metadata about an application.

" @@ -52,13 +52,13 @@ "AgentIds": { "base": null, "refs": { - "DescribeAgentsRequest$agentIds": "

The agent or the Connector IDs for which you want information. If you specify no IDs, the system returns information about all agents/Connectors associated with your AWS user account.

", - "StartDataCollectionByAgentIdsRequest$agentIds": "

The IDs of the agents or connectors from which to start collecting data. If you send a request to an agent/connector ID that you do not have permission to contact, according to your AWS account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents/connectors and you do not have permission to contact some of those agents/connectors, the system does not throw an exception. Instead, the system shows Failed in the Description field.

", + "DescribeAgentsRequest$agentIds": "

The agent or the Connector IDs for which you want information. If you specify no IDs, the system returns information about all agents/Connectors associated with your Amazon Web Services user account.

", + "StartDataCollectionByAgentIdsRequest$agentIds": "

The IDs of the agents or connectors from which to start collecting data. If you send a request to an agent/connector ID that you do not have permission to contact, according to your Amazon Web Services account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents/connectors and you do not have permission to contact some of those agents/connectors, the system does not throw an exception. Instead, the system shows Failed in the Description field.

", "StopDataCollectionByAgentIdsRequest$agentIds": "

The IDs of the agents or connectors from which to stop collecting data.

" } }, "AgentInfo": { - "base": "

Information about agents or connectors associated with the user’s AWS account. Information includes agent or connector IDs, IP addresses, media access control (MAC) addresses, agent or connector health, hostname where the agent or connector resides, and agent version for each agent.

", + "base": "

Information about agents or connectors associated with the user’s Amazon Web Services account. Information includes agent or connector IDs, IP addresses, media access control (MAC) addresses, agent or connector health, hostname where the agent or connector resides, and agent version for each agent.

", "refs": { "AgentsInfo$member": null } @@ -87,6 +87,13 @@ "DescribeAgentsResponse$agentsInfo": "

Lists agents or the Connector by ID or lists all agents/Connectors associated with your user account if you did not specify an agent/Connector ID. The output includes agent/Connector IDs, IP addresses, media access control (MAC) addresses, agent/Connector health, host name where the agent/Connector resides, and the version number of each agent/Connector.

" } }, + "ApplicationDescription": { + "base": null, + "refs": { + "CreateApplicationRequest$description": "

Description of the application to be created.

", + "UpdateApplicationRequest$description": "

New description of the application to be updated.

" + } + }, "ApplicationId": { "base": null, "refs": { @@ -102,6 +109,13 @@ "DeleteApplicationsRequest$configurationIds": "

Configuration ID of an application to be deleted.

" } }, + "ApplicationName": { + "base": null, + "refs": { + "CreateApplicationRequest$name": "

Name of the application to be created.

", + "UpdateApplicationRequest$name": "

New name of the application to be updated.

" + } + }, "AssociateConfigurationItemsToApplicationRequest": { "base": null, "refs": { @@ -113,7 +127,7 @@ } }, "AuthorizationErrorException": { - "base": "

The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

", + "base": "

The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.

", "refs": { } }, @@ -311,6 +325,12 @@ "GetDiscoverySummaryResponse$connectorSummary": "

Details about discovered connectors, including connector status and health.

" } }, + "CustomerMeCollectorInfo": { + "base": "

The inventory data for installed Migration Evaluator collectors.

", + "refs": { + "GetDiscoverySummaryResponse$meCollectorSummary": "

Details about Migration Evaluator collectors, including collector status and health.

" + } + }, "DataSource": { "base": null, "refs": { @@ -523,7 +543,7 @@ } }, "Filter": { - "base": "

A filter that can use conditional operators.

For more information about filters, see Querying Discovered Configuration Items in the AWS Application Discovery Service User Guide.

", + "base": "

A filter that can use conditional operators.

For more information about filters, see Querying Discovered Configuration Items in the Amazon Web Services Application Discovery Service User Guide.

", "refs": { "Filters$member": null } @@ -531,7 +551,7 @@ "FilterName": { "base": null, "refs": { - "ExportFilter$name": "

A single ExportFilter name. Supported filters: agentId.

", + "ExportFilter$name": "

A single ExportFilter name. Supported filters: agentIds.

", "TagFilter$name": "

A name of the tag filter.

" } }, @@ -544,7 +564,7 @@ "FilterValues": { "base": null, "refs": { - "ExportFilter$values": "

A single agentId for a Discovery Agent. An agentId can be found using the DescribeAgents action. Typically an ADS agentId is in the form o-0123456789abcdef0.

", + "ExportFilter$values": "

A single agent ID for a Discovery Agent. An agent ID can be found using the DescribeAgents action. Typically an ADS agent ID is in the form o-0123456789abcdef0.

", "Filter$values": "

A string value on which to filter. For example, if you choose the destinationServer.osVersion filter name, you could specify Ubuntu for the value.

", "TagFilter$values": "

Values for the tag filter.

" } @@ -553,7 +573,7 @@ "base": null, "refs": { "DescribeAgentsRequest$filters": "

You can filter the request using various logical operators and a key-value format. For example:

{\"key\": \"collectionStatus\", \"value\": \"STARTED\"}

", - "ListConfigurationsRequest$filters": "

You can filter the request using various logical operators and a key-value format. For example:

{\"key\": \"serverType\", \"value\": \"webServer\"}

For a complete list of filter options and guidance about using them with this action, see Using the ListConfigurations Action in the AWS Application Discovery Service User Guide.

" + "ListConfigurationsRequest$filters": "

You can filter the request using various logical operators and a key-value format. For example:

{\"key\": \"serverType\", \"value\": \"webServer\"}

For a complete list of filter options and guidance about using them with this action, see Using the ListConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.

" } }, "GetDiscoverySummaryRequest": { @@ -612,7 +632,7 @@ "base": null, "refs": { "BatchDeleteImportDataError$importTaskId": "

The unique import ID associated with the error that occurred.

", - "ImportTask$importTaskId": "

The unique ID for a specific import task. These IDs aren't globally unique, but they are unique within an AWS account.

", + "ImportTask$importTaskId": "

The unique ID for a specific import task. These IDs aren't globally unique, but they are unique within an Amazon Web Services account.

", "ToDeleteIdentifierList$member": null } }, @@ -633,7 +653,7 @@ "base": null, "refs": { "ImportTask$importUrl": "

The URL for your import file that you've uploaded to Amazon S3.

", - "StartImportTaskRequest$importUrl": "

The URL for your import file that you've uploaded to Amazon S3.

If you're using the AWS CLI, this URL is structured as follows: s3://BucketName/ImportFileName.CSV

" + "StartImportTaskRequest$importUrl": "

The URL for your import file that you've uploaded to Amazon S3.

If you're using the Amazon Web Services CLI, this URL is structured as follows: s3://BucketName/ImportFileName.CSV

" } }, "Integer": { @@ -653,6 +673,13 @@ "CustomerConnectorInfo$unhealthyConnectors": "

Number of unhealthy discovery connectors.

", "CustomerConnectorInfo$totalConnectors": "

Total number of discovery connectors.

", "CustomerConnectorInfo$unknownConnectors": "

Number of unknown discovery connectors.

", + "CustomerMeCollectorInfo$activeMeCollectors": "

The number of active Migration Evaluator collectors.

", + "CustomerMeCollectorInfo$healthyMeCollectors": "

The number of healthy Migration Evaluator collectors.

", + "CustomerMeCollectorInfo$denyListedMeCollectors": "

The number of deny-listed Migration Evaluator collectors.

", + "CustomerMeCollectorInfo$shutdownMeCollectors": "

The number of Migration Evaluator collectors with SHUTDOWN status.

", + "CustomerMeCollectorInfo$unhealthyMeCollectors": "

The number of unhealthy Migration Evaluator collectors.

", + "CustomerMeCollectorInfo$totalMeCollectors": "

The total number of Migration Evaluator collectors.

", + "CustomerMeCollectorInfo$unknownMeCollectors": "

The number of unknown Migration Evaluator collectors.

", "DescribeAgentsRequest$maxResults": "

The total number of agents/Connectors to return in a single page of output. The maximum value is 100.

", "DescribeExportConfigurationsRequest$maxResults": "

A number between 1 and 100 specifying the maximum number of continuous export descriptions returned.

", "DescribeExportTasksRequest$maxResults": "

The maximum number of volume results returned by DescribeExportTasks in paginated output. When this parameter is used, DescribeExportTasks only returns maxResults results in a single page along with a nextToken response element.

", @@ -762,10 +789,16 @@ "OrderByList$member": null } }, + "OrderByElementFieldName": { + "base": null, + "refs": { + "OrderByElement$fieldName": "

The field on which to order.

" + } + }, "OrderByList": { "base": null, "refs": { - "ListConfigurationsRequest$orderBy": "

Certain filter criteria return output that can be sorted in ascending or descending order. For a list of output characteristics for each filter, see Using the ListConfigurations Action in the AWS Application Discovery Service User Guide.

" + "ListConfigurationsRequest$orderBy": "

Certain filter criteria return output that can be sorted in ascending or descending order. For a list of output characteristics for each filter, see Using the ListConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.

" } }, "ResourceInUseException": { @@ -879,8 +912,6 @@ "AgentNetworkInfo$macAddress": "

The MAC address for the host where the agent/connector resides.

", "Configuration$key": null, "Configuration$value": null, - "CreateApplicationRequest$name": "

Name of the application to be created.

", - "CreateApplicationRequest$description": "

Description of the application to be created.

", "CreateApplicationResponse$configurationId": "

Configuration ID of an application to be created.

", "DescribeConfigurationsAttribute$key": null, "DescribeConfigurationsAttribute$value": null, @@ -888,20 +919,17 @@ "ListServerNeighborsRequest$nextToken": "

Token to retrieve the next set of results. For example, if you previously specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.

", "ListServerNeighborsResponse$nextToken": "

Token to retrieve the next set of results. For example, if you specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.

", "NeighborConnectionDetail$transportProtocol": "

The network protocol used for the connection.

", - "OrderByElement$fieldName": "

The field on which to order.

", - "SchemaStorageConfig$value": null, - "UpdateApplicationRequest$name": "

New name of the application to be updated.

", - "UpdateApplicationRequest$description": "

New description of the application to be updated.

" + "SchemaStorageConfig$value": null } }, "StringMax255": { "base": null, "refs": { - "ContinuousExportDescription$statusDetail": "

Contains information about any errors that have occurred. This data type can have the following values:

" + "ContinuousExportDescription$statusDetail": "

Contains information about any errors that have occurred. This data type can have the following values:

" } }, "Tag": { - "base": "

Metadata that help you categorize IT assets.

", + "base": "

Metadata that help you categorize IT assets.

Do not store sensitive information (like personal data) in tags.

", "refs": { "TagSet$member": null } diff --git a/apis/rekognition/2016-06-27/docs-2.json b/apis/rekognition/2016-06-27/docs-2.json index 15529f43703..872cb9b6bf9 100644 --- a/apis/rekognition/2016-06-27/docs-2.json +++ b/apis/rekognition/2016-06-27/docs-2.json @@ -1,12 +1,12 @@ { "version": "2.0", - "service": "

This is the API Reference for Amazon Rekognition Image, Amazon Rekognition Custom Labels, Amazon Rekognition Stored Video, Amazon Rekognition Streaming Video. It provides descriptions of actions, data types, common parameters, and common errors.

Amazon Rekognition Image

Amazon Rekognition Custom Labels

Amazon Rekognition Video Stored Video

Amazon Rekognition Video Streaming Video

", + "service": "

This is the API Reference for Amazon Rekognition Image, Amazon Rekognition Custom Labels, Amazon Rekognition Stored Video, Amazon Rekognition Streaming Video. It provides descriptions of actions, data types, common parameters, and common errors.

Amazon Rekognition Image

Amazon Rekognition Custom Labels

Amazon Rekognition Video Stored Video

Amazon Rekognition Video Streaming Video

", "operations": { "CompareFaces": "

Compares a face in the source input image with each of the 100 largest faces detected in the target input image.

If the source image contains multiple faces, the service detects the largest face and compares it with each face detected in the target image.

CompareFaces uses machine learning algorithms, which are probabilistic. A false negative is an incorrect prediction that a face in the target image has a low similarity confidence score when compared to the face in the source image. To reduce the probability of false negatives, we recommend that you compare the target image against multiple source images. If you plan to use CompareFaces to make a decision that impacts an individual's rights, privacy, or access to services, we recommend that you pass the result to a human for review and further validation before taking action.

You pass the input and target images either as base64-encoded image bytes or as references to images in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes isn't supported. The image must be formatted as a PNG or JPEG file.

In response, the operation returns an array of face matches ordered by similarity score in descending order. For each face match, the response provides a bounding box of the face, facial landmarks, pose details (pitch, roll, and yaw), quality (brightness and sharpness), and confidence value (indicating the level of confidence that the bounding box contains a face). The response also provides a similarity score, which indicates how closely the faces match.

By default, only faces with a similarity score of greater than or equal to 80% are returned in the response. You can change this value by specifying the SimilarityThreshold parameter.

CompareFaces also returns an array of faces that don't match the source image. For each face, it returns a bounding box, confidence value, landmarks, pose details, and quality. The response also returns information about the face in the source image, including the bounding box of the face and confidence value.

The QualityFilter input parameter allows you to filter out detected faces that don’t meet a required quality bar. The quality bar is based on a variety of common use cases. Use QualityFilter to set the quality bar by specifying LOW, MEDIUM, or HIGH. If you do not want to filter detected faces, specify NONE. The default value is NONE.

If the image doesn't contain Exif metadata, CompareFaces returns orientation information for the source and target images. Use these values to display the images with the correct image orientation.

If no faces are detected in the source or target images, CompareFaces returns an InvalidParameterException error.

This is a stateless API operation. That is, data returned by this operation doesn't persist.

For an example, see Comparing Faces in Images in the Amazon Rekognition Developer Guide.

This operation requires permissions to perform the rekognition:CompareFaces action.

", "CreateCollection": "

Creates a collection in an AWS Region. You can add faces to the collection using the IndexFaces operation.

For example, you might create collections, one for each of your application users. A user can then index faces using the IndexFaces operation and persist results in a specific collection. Then, a user can search the collection for faces in the user-specific container.

When you create a collection, it is associated with the latest version of the face model version.

Collection names are case-sensitive.

This operation requires permissions to perform the rekognition:CreateCollection action. If you want to tag your collection, you also require permission to perform the rekognition:TagResource operation.

", "CreateDataset": "

Creates a new Amazon Rekognition Custom Labels dataset. You can create a dataset by using an Amazon Sagemaker format manifest file or by copying an existing Amazon Rekognition Custom Labels dataset.

To create a training dataset for a project, specify train for the value of DatasetType. To create the test dataset for a project, specify test for the value of DatasetType.

The response from CreateDataset is the Amazon Resource Name (ARN) for the dataset. Creating a dataset takes a while to complete. Use DescribeDataset to check the current status. The dataset created successfully if the value of Status is CREATE_COMPLETE.

To check if any non-terminal errors occurred, call ListDatasetEntries and check for the presence of errors lists in the JSON Lines.

Dataset creation fails if a terminal error occurs (Status = CREATE_FAILED). Currently, you can't access the terminal error information.

For more information, see Creating dataset in the Amazon Rekognition Custom Labels Developer Guide.

This operation requires permissions to perform the rekognition:CreateDataset action. If you want to copy an existing dataset, you also require permission to perform the rekognition:ListDatasetEntries action.

", "CreateProject": "

Creates a new Amazon Rekognition Custom Labels project. A project is a group of resources (datasets, model versions) that you use to create and manage Amazon Rekognition Custom Labels models.

This operation requires permissions to perform the rekognition:CreateProject action.

", - "CreateProjectVersion": "

Creates a new version of a model and begins training. Models are managed as part of an Amazon Rekognition Custom Labels project. The response from CreateProjectVersion is an Amazon Resource Name (ARN) for the version of the model.

Training uses the training and test datasets associated with the project. For more information, see Creating training and test dataset in the Amazon Rekognition Custom Labels Developer Guide.

You can train a modelin a project that doesn't have associated datasets by specifying manifest files in the TrainingData and TestingData fields.

If you open the console after training a model with manifest files, Amazon Rekognition Custom Labels creates the datasets for you using the most recent manifest files. You can no longer train a model version for the project by specifying manifest files.

Instead of training with a project without associated datasets, we recommend that you use the manifest files to create training and test datasets for the project.

Training takes a while to complete. You can get the current status by calling DescribeProjectVersions. Training completed successfully if the value of the Status field is TRAINING_COMPLETED.

If training fails, see Debugging a failed model training in the Amazon Rekognition Custom Labels developer guide.

Once training has successfully completed, call DescribeProjectVersions to get the training results and evaluate the model. For more information, see Improving a trained Amazon Rekognition Custom Labels model in the Amazon Rekognition Custom Labels developers guide.

After evaluating the model, you start the model by calling StartProjectVersion.

This operation requires permissions to perform the rekognition:CreateProjectVersion action.

", + "CreateProjectVersion": "

Creates a new version of a model and begins training. Models are managed as part of an Amazon Rekognition Custom Labels project. The response from CreateProjectVersion is an Amazon Resource Name (ARN) for the version of the model.

Training uses the training and test datasets associated with the project. For more information, see Creating training and test dataset in the Amazon Rekognition Custom Labels Developer Guide.

You can train a model in a project that doesn't have associated datasets by specifying manifest files in the TrainingData and TestingData fields.

If you open the console after training a model with manifest files, Amazon Rekognition Custom Labels creates the datasets for you using the most recent manifest files. You can no longer train a model version for the project by specifying manifest files.

Instead of training with a project without associated datasets, we recommend that you use the manifest files to create training and test datasets for the project.

Training takes a while to complete. You can get the current status by calling DescribeProjectVersions. Training completed successfully if the value of the Status field is TRAINING_COMPLETED.

If training fails, see Debugging a failed model training in the Amazon Rekognition Custom Labels developer guide.

Once training has successfully completed, call DescribeProjectVersions to get the training results and evaluate the model. For more information, see Improving a trained Amazon Rekognition Custom Labels model in the Amazon Rekognition Custom Labels developers guide.

After evaluating the model, you start the model by calling StartProjectVersion.

This operation requires permissions to perform the rekognition:CreateProjectVersion action.

", "CreateStreamProcessor": "

Creates an Amazon Rekognition stream processor that you can use to detect and recognize faces or to detect labels in a streaming video.

Amazon Rekognition Video is a consumer of live video from Amazon Kinesis Video Streams. There are two different settings for stream processors in Amazon Rekognition: detecting faces and detecting labels.

Use Name to assign an identifier for the stream processor. You use Name to manage the stream processor. For example, you can start processing the source video by calling StartStreamProcessor with the Name field.

This operation requires permissions to perform the rekognition:CreateStreamProcessor action. If you want to tag your stream processor, you also require permission to perform the rekognition:TagResource operation.

", "DeleteCollection": "

Deletes the specified collection. Note that this operation removes all faces in the collection. For an example, see Deleting a collection.

This operation requires permissions to perform the rekognition:DeleteCollection action.

", "DeleteDataset": "

Deletes an existing Amazon Rekognition Custom Labels dataset. Deleting a dataset might take while. Use DescribeDataset to check the current status. The dataset is still deleting if the value of Status is DELETE_IN_PROGRESS. If you try to access the dataset after it is deleted, you get a ResourceNotFoundException exception.

You can't delete a dataset while it is creating (Status = CREATE_IN_PROGRESS) or if the dataset is updating (Status = UPDATE_IN_PROGRESS).

This operation requires permissions to perform the rekognition:DeleteDataset action.

", diff --git a/apis/resiliencehub/2020-04-30/api-2.json b/apis/resiliencehub/2020-04-30/api-2.json index a5960563841..3519e3aba44 100644 --- a/apis/resiliencehub/2020-04-30/api-2.json +++ b/apis/resiliencehub/2020-04-30/api-2.json @@ -752,6 +752,12 @@ "type":"list", "member":{"shape":"AlarmRecommendation"} }, + "AlarmReferenceIdList":{ + "type":"list", + "member":{"shape":"String500"}, + "max":200, + "min":1 + }, "AlarmType":{ "type":"string", "enum":[ @@ -771,6 +777,7 @@ ], "members":{ "appArn":{"shape":"Arn"}, + "assessmentSchedule":{"shape":"AppAssessmentScheduleType"}, "complianceStatus":{"shape":"AppComplianceStatusType"}, "creationTime":{"shape":"TimeStamp"}, "description":{"shape":"EntityDescription"}, @@ -804,10 +811,18 @@ "message":{"shape":"String500"}, "policy":{"shape":"ResiliencyPolicy"}, "resiliencyScore":{"shape":"ResiliencyScore"}, + "resourceErrorsDetails":{"shape":"ResourceErrorsDetails"}, "startTime":{"shape":"TimeStamp"}, "tags":{"shape":"TagMap"} } }, + "AppAssessmentScheduleType":{ + "type":"string", + "enum":[ + "Disabled", + "Daily" + ] + }, "AppAssessmentSummary":{ "type":"structure", "required":[ @@ -884,6 +899,7 @@ ], "members":{ "appArn":{"shape":"Arn"}, + "assessmentSchedule":{"shape":"AppAssessmentScheduleType"}, "complianceStatus":{"shape":"AppComplianceStatusType"}, "creationTime":{"shape":"TimeStamp"}, "description":{"shape":"EntityDescription"}, @@ -897,7 +913,7 @@ }, "AppTemplateBody":{ "type":"string", - "max":5000, + "max":51200, "min":0, "pattern":"^[\\w\\s:,-\\.'{}\\[\\]:\"]+$" }, @@ -1062,6 +1078,7 @@ "type":"structure", "required":["name"], "members":{ + "assessmentSchedule":{"shape":"AppAssessmentScheduleType"}, "clientToken":{ "shape":"ClientToken", "idempotencyToken":true @@ -1409,6 +1426,11 @@ "type":"string", "pattern":"^\\S{1,50}$" }, + "ErrorMessage":{ + "type":"string", + "max":500, + "min":0 + }, "EstimatedCostTier":{ "type":"string", "enum":[ @@ -1441,13 +1463,11 @@ }, "ImportResourcesToDraftAppVersionRequest":{ "type":"structure", - "required":[ - "appArn", - "sourceArns" - ], + "required":["appArn"], "members":{ "appArn":{"shape":"Arn"}, - "sourceArns":{"shape":"ArnList"} + "sourceArns":{"shape":"ArnList"}, + "terraformSources":{"shape":"TerraformSourceList"} } }, "ImportResourcesToDraftAppVersionResponse":{ @@ -1455,14 +1475,14 @@ "required":[ "appArn", "appVersion", - "sourceArns", "status" ], "members":{ "appArn":{"shape":"Arn"}, "appVersion":{"shape":"EntityVersion"}, "sourceArns":{"shape":"ArnList"}, - "status":{"shape":"ResourceImportStatusType"} + "status":{"shape":"ResourceImportStatusType"}, + "terraformSources":{"shape":"TerraformSourceList"} } }, "InternalServerException":{ @@ -1857,7 +1877,8 @@ "members":{ "identifier":{"shape":"String255"}, "logicalStackName":{"shape":"String255"}, - "resourceGroupName":{"shape":"EntityName"} + "resourceGroupName":{"shape":"EntityName"}, + "terraformSourceName":{"shape":"String255"} } }, "MaxResults":{ @@ -2039,7 +2060,8 @@ "appRegistryAppNames":{"shape":"EntityNameList"}, "logicalStackNames":{"shape":"String255List"}, "resourceGroupNames":{"shape":"EntityNameList"}, - "resourceNames":{"shape":"EntityNameList"} + "resourceNames":{"shape":"EntityNameList"}, + "terraformSourceNames":{"shape":"String255List"} } }, "RemoveDraftAppVersionResourceMappingsResponse":{ @@ -2128,6 +2150,25 @@ "status":{"shape":"ResourceResolutionStatusType"} } }, + "ResourceError":{ + "type":"structure", + "members":{ + "logicalResourceId":{"shape":"String255"}, + "physicalResourceId":{"shape":"String255"}, + "reason":{"shape":"ErrorMessage"} + } + }, + "ResourceErrorList":{ + "type":"list", + "member":{"shape":"ResourceError"} + }, + "ResourceErrorsDetails":{ + "type":"structure", + "members":{ + "hasMoreErrors":{"shape":"BooleanOptional"}, + "resourceErrors":{"shape":"ResourceErrorList"} + } + }, "ResourceId":{ "type":"string", "pattern":".*" @@ -2153,7 +2194,8 @@ "mappingType":{"shape":"ResourceMappingType"}, "physicalResourceId":{"shape":"PhysicalResourceId"}, "resourceGroupName":{"shape":"EntityName"}, - "resourceName":{"shape":"EntityName"} + "resourceName":{"shape":"EntityName"}, + "terraformSourceName":{"shape":"String255"} } }, "ResourceMappingList":{ @@ -2166,7 +2208,8 @@ "CfnStack", "Resource", "AppRegistryApp", - "ResourceGroup" + "ResourceGroup", + "Terraform" ] }, "ResourceNotFoundException":{ @@ -2206,6 +2249,12 @@ "prefix":{"shape":"String500"} } }, + "S3Url":{ + "type":"string", + "max":2000, + "min":0, + "pattern":"^((https://([^/]+)\\.s3((-|\\.)[^/]+)?\\.amazonaws\\.com(.cn)?)|(s3://([^/]+)))/\\S{1,2000}$" + }, "Seconds":{ "type":"integer", "min":0 @@ -2299,7 +2348,7 @@ "type":"string", "max":128, "min":1, - "pattern":"^(?!aws:).+$" + "pattern":"^(?!aws:)[^\\x00-\\x1f\\x22]+$" }, "TagKeyList":{ "type":"list", @@ -2339,7 +2388,8 @@ "TagValue":{ "type":"string", "max":256, - "min":0 + "min":0, + "pattern":"^[^\\x00-\\x1f\\x22]*$" }, "TemplateFormat":{ "type":"string", @@ -2348,11 +2398,23 @@ "CfnJson" ] }, + "TerraformSource":{ + "type":"structure", + "required":["s3StateFileUrl"], + "members":{ + "s3StateFileUrl":{"shape":"S3Url"} + } + }, + "TerraformSourceList":{ + "type":"list", + "member":{"shape":"TerraformSource"} + }, "TestRecommendation":{ "type":"structure", "required":["referenceId"], "members":{ "appComponentName":{"shape":"EntityId"}, + "dependsOnAlarms":{"shape":"AlarmReferenceIdList"}, "description":{"shape":"String500"}, "intent":{"shape":"EntityDescription"}, "items":{"shape":"RecommendationItemList"}, @@ -2444,6 +2506,7 @@ "required":["appArn"], "members":{ "appArn":{"shape":"Arn"}, + "assessmentSchedule":{"shape":"AppAssessmentScheduleType"}, "clearResiliencyPolicyArn":{"shape":"BooleanOptional"}, "description":{"shape":"EntityDescription"}, "policyArn":{"shape":"Arn"} diff --git a/apis/resiliencehub/2020-04-30/docs-2.json b/apis/resiliencehub/2020-04-30/docs-2.json index 192b95b4c8a..30ac9c121e6 100644 --- a/apis/resiliencehub/2020-04-30/docs-2.json +++ b/apis/resiliencehub/2020-04-30/docs-2.json @@ -70,6 +70,12 @@ "ListAlarmRecommendationsResponse$alarmRecommendations": "

The alarm recommendations for an AWS Resilience Hub application, returned as an object. This object includes application component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more.

" } }, + "AlarmReferenceIdList": { + "base": null, + "refs": { + "TestRecommendation$dependsOnAlarms": "

A list of recommended alarms that are used in the test and must be exported before or with the test.

" + } + }, "AlarmType": { "base": null, "refs": { @@ -91,6 +97,15 @@ "StartAppAssessmentResponse$assessment": "

The assessment created.

" } }, + "AppAssessmentScheduleType": { + "base": null, + "refs": { + "App$assessmentSchedule": "

Assessment execution schedule with 'Daily' or 'Disabled' values.

", + "AppSummary$assessmentSchedule": "

Assessment execution schedule with 'Daily' or 'Disabled' values.

", + "CreateAppRequest$assessmentSchedule": "

Assessment execution schedule with 'Daily' or 'Disabled' values.

", + "UpdateAppRequest$assessmentSchedule": "

Assessment execution schedule with 'Daily' or 'Disabled' values.

" + } + }, "AppAssessmentSummary": { "base": "

Defines an application assessment summary.

", "refs": { @@ -168,69 +183,69 @@ "Arn": { "base": null, "refs": { - "AddDraftAppVersionResourceMappingsRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "AddDraftAppVersionResourceMappingsResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "App$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "App$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:dcps:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "AppAssessment$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "AppAssessment$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:dcps:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "AppAssessmentSummary$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "AppAssessmentSummary$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:dcps:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "AppSummary$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "AddDraftAppVersionResourceMappingsRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "AddDraftAppVersionResourceMappingsResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "App$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "App$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "AppAssessment$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "AppAssessment$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "AppAssessmentSummary$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "AppAssessmentSummary$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "AppSummary$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", "ArnList$member": null, - "CreateAppRequest$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:dcps:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "CreateRecommendationTemplateRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:dcps:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "DeleteAppAssessmentRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:dcps:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "DeleteAppAssessmentResponse$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:dcps:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "DeleteAppRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "DeleteAppResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "CreateAppRequest$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "CreateRecommendationTemplateRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "DeleteAppAssessmentRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "DeleteAppAssessmentResponse$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "DeleteAppRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "DeleteAppResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", "DeleteRecommendationTemplateRequest$recommendationTemplateArn": "

The Amazon Resource Name (ARN) for a recommendation template.

", "DeleteRecommendationTemplateResponse$recommendationTemplateArn": "

The Amazon Resource Name (ARN) for a recommendation template.

", - "DeleteResiliencyPolicyRequest$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:dcps:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "DeleteResiliencyPolicyResponse$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:dcps:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "DescribeAppAssessmentRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:dcps:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "DescribeAppRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "DescribeAppVersionResourcesResolutionStatusRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "DescribeAppVersionResourcesResolutionStatusResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "DescribeAppVersionTemplateRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "DescribeAppVersionTemplateResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "DescribeDraftAppVersionResourcesImportStatusRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "DescribeDraftAppVersionResourcesImportStatusResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "DescribeResiliencyPolicyRequest$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:dcps:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "ImportResourcesToDraftAppVersionRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "ImportResourcesToDraftAppVersionResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "ListAlarmRecommendationsRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:dcps:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "ListAppAssessmentsRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "ListAppComponentCompliancesRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:dcps:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "ListAppComponentRecommendationsRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:dcps:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "ListAppVersionResourceMappingsRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "ListAppVersionResourcesRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "ListAppVersionsRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "ListAppsRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "ListRecommendationTemplatesRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:dcps:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "DeleteResiliencyPolicyRequest$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "DeleteResiliencyPolicyResponse$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "DescribeAppAssessmentRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "DescribeAppRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "DescribeAppVersionResourcesResolutionStatusRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "DescribeAppVersionResourcesResolutionStatusResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "DescribeAppVersionTemplateRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "DescribeAppVersionTemplateResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "DescribeDraftAppVersionResourcesImportStatusRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "DescribeDraftAppVersionResourcesImportStatusResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "DescribeResiliencyPolicyRequest$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ImportResourcesToDraftAppVersionRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ImportResourcesToDraftAppVersionResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ListAlarmRecommendationsRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ListAppAssessmentsRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ListAppComponentCompliancesRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ListAppComponentRecommendationsRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ListAppVersionResourceMappingsRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ListAppVersionResourcesRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ListAppVersionsRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ListAppsRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ListRecommendationTemplatesRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", "ListRecommendationTemplatesRequest$recommendationTemplateArn": "

The Amazon Resource Name (ARN) for a recommendation template.

", - "ListSopRecommendationsRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:dcps:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ListSopRecommendationsRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", "ListTagsForResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) for a specific resource in your Resilience Hub application.

", - "ListTestRecommendationsRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:dcps:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "ListUnsupportedAppVersionResourcesRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "PublishAppVersionRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "PublishAppVersionResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "PutDraftAppVersionTemplateRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "PutDraftAppVersionTemplateResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "RecommendationTemplate$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "RecommendationTemplate$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:dcps:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ListTestRecommendationsRequest$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ListUnsupportedAppVersionResourcesRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "PublishAppVersionRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "PublishAppVersionResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "PutDraftAppVersionTemplateRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "PutDraftAppVersionTemplateResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "RecommendationTemplate$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "RecommendationTemplate$assessmentArn": "

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", "RecommendationTemplate$recommendationTemplateArn": "

The Amazon Resource Name (ARN) for the recommendation template.

", - "RemoveDraftAppVersionResourceMappingsRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "RemoveDraftAppVersionResourceMappingsResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "ResiliencyPolicy$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:dcps:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "ResolveAppVersionResourcesRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "ResolveAppVersionResourcesResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "StartAppAssessmentRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "RemoveDraftAppVersionResourceMappingsRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "RemoveDraftAppVersionResourceMappingsResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ResiliencyPolicy$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ResolveAppVersionResourcesRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "ResolveAppVersionResourcesResponse$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "StartAppAssessmentRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", "TagResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) of the resource.

", "UntagResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) of the resource.

", - "UpdateAppRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:dcps:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "UpdateAppRequest$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:dcps:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", - "UpdateResiliencyPolicyRequest$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:dcps:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

" + "UpdateAppRequest$appArn": "

The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "UpdateAppRequest$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

", + "UpdateResiliencyPolicyRequest$policyArn": "

The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

" } }, "ArnList": { @@ -286,6 +301,7 @@ "ListRecommendationTemplatesRequest$reverseOrder": "

The default is to sort by ascending startTime. To sort by descending startTime, set reverseOrder to true.

", "RecommendationItem$alreadyImplemented": "

Specifies if the recommendation has already been implemented.

", "RecommendationTemplate$needsReplacements": "

Indicates if replacements are needed.

", + "ResourceErrorsDetails$hasMoreErrors": "

This indicates if there are more errors not listed in the resourceErrors list.

", "UpdateAppRequest$clearResiliencyPolicyArn": "

Specifies if the resiliency policy ARN should be cleared.

" } }, @@ -654,6 +670,12 @@ "StartAppAssessmentRequest$appVersion": "

The version of the application.

" } }, + "ErrorMessage": { + "base": null, + "refs": { + "ResourceError$reason": "

This is the error message.

" + } + }, "EstimatedCostTier": { "base": null, "refs": { @@ -1073,6 +1095,24 @@ "refs": { } }, + "ResourceError": { + "base": "

Defines application resource errors.

", + "refs": { + "ResourceErrorList$member": null + } + }, + "ResourceErrorList": { + "base": null, + "refs": { + "ResourceErrorsDetails$resourceErrors": "

A list of errors retrieving an application's resources.

" + } + }, + "ResourceErrorsDetails": { + "base": "

A list of errors retrieving an application's resources.

", + "refs": { + "AppAssessment$resourceErrorsDetails": "

A resource error object containing a list of errors retrieving an application's resources.

" + } + }, "ResourceId": { "base": null, "refs": { @@ -1138,6 +1178,12 @@ "RecommendationTemplate$templatesLocation": "

The file location of the template.

" } }, + "S3Url": { + "base": null, + "refs": { + "TerraformSource$s3StateFileUrl": "

The Terraform s3 state file you need to import.

" + } + }, "Seconds": { "base": null, "refs": { @@ -1206,10 +1252,14 @@ "ListUnsupportedAppVersionResourcesResponse$resolutionId": "

The identifier for a specific resolution.

", "LogicalResourceId$identifier": "

The identifier of the resource.

", "LogicalResourceId$logicalStackName": "

The name of the CloudFormation stack this resource belongs to.

", + "LogicalResourceId$terraformSourceName": "

The name of the Terraform S3 state file this resource belongs to.

", "PhysicalResource$resourceType": "

The type of resource.

", "PhysicalResourceId$identifier": "

The identifier of the physical resource.

", "ResolveAppVersionResourcesResponse$resolutionId": "

The identifier for a specific resolution.

", + "ResourceError$logicalResourceId": "

This is the identifier of the resource.

", + "ResourceError$physicalResourceId": "

This is the identifier of the physical resource.

", "ResourceMapping$logicalStackName": "

The name of the CloudFormation stack this resource is mapped to.

", + "ResourceMapping$terraformSourceName": "

The short name of the Terraform source.

", "String255List$member": null, "UnsupportedResource$resourceType": "

The type of resource.

" } @@ -1217,7 +1267,8 @@ "String255List": { "base": null, "refs": { - "RemoveDraftAppVersionResourceMappingsRequest$logicalStackNames": "

The names of the CloudFormation stacks to remove from the resource mappings.

" + "RemoveDraftAppVersionResourceMappingsRequest$logicalStackNames": "

The names of the CloudFormation stacks to remove from the resource mappings.

", + "RemoveDraftAppVersionResourceMappingsRequest$terraformSourceNames": "

</p> 
" } }, "String500": { @@ -1226,6 +1277,7 @@ "AccessDeniedException$message": null, "AlarmRecommendation$name": "

The name of the alarm recommendation.

", "AlarmRecommendation$prerequisite": "

The prerequisite for the alarm recommendation.

", + "AlarmReferenceIdList$member": null, "AppAssessment$message": "

Error or warning message from the assessment execution

", "AppAssessmentSummary$message": "

The message from the assessment run.

", "AppComponentCompliance$message": "

The compliance message.

", @@ -1311,6 +1363,19 @@ "RecommendationTemplate$format": "

The format of the recommendation template.

CfnJson

The template is CloudFormation JSON.

CfnYaml

The template is CloudFormation YAML.

" } }, + "TerraformSource": { + "base": "

The Terraform s3 state file you need to import.

", + "refs": { + "TerraformSourceList$member": null + } + }, + "TerraformSourceList": { + "base": null, + "refs": { + "ImportResourcesToDraftAppVersionRequest$terraformSources": "

A list of terraform file s3 URLs you need to import.

", + "ImportResourcesToDraftAppVersionResponse$terraformSources": "

A list of terraform file s3 URLs you need to import.

" + } + }, "TestRecommendation": { "base": "

Defines a test recommendation.

", "refs": { diff --git a/apis/servicecatalog/2015-12-10/docs-2.json b/apis/servicecatalog/2015-12-10/docs-2.json index a5c1fba8030..0d9edac809a 100644 --- a/apis/servicecatalog/2015-12-10/docs-2.json +++ b/apis/servicecatalog/2015-12-10/docs-2.json @@ -55,7 +55,7 @@ "GetAWSOrganizationsAccessStatus": "

Get the Access Status for AWS Organization portfolio share feature. This API can only be called by the management account in the organization or by a delegated admin.

", "GetProvisionedProductOutputs": "

This API takes either a ProvisonedProductId or a ProvisionedProductName, along with a list of one or more output keys, and responds with the key/value pairs of those outputs.

", "ImportAsProvisionedProduct": "

Requests the import of a resource as a Service Catalog provisioned product that is associated to a Service Catalog product and provisioning artifact. Once imported, all supported Service Catalog governance actions are supported on the provisioned product.

Resource import only supports CloudFormation stack ARNs. CloudFormation StackSets and non-root nested stacks are not supported.

The CloudFormation stack must have one of the following statuses to be imported: CREATE_COMPLETE, UPDATE_COMPLETE, UPDATE_ROLLBACK_COMPLETE, IMPORT_COMPLETE, IMPORT_ROLLBACK_COMPLETE.

Import of the resource requires that the CloudFormation stack template matches the associated Service Catalog product provisioning artifact.

The user or role that performs this operation must have the cloudformation:GetTemplate and cloudformation:DescribeStacks IAM policy permissions.

", - "ListAcceptedPortfolioShares": "

Lists all portfolios for which sharing was accepted by this account.

", + "ListAcceptedPortfolioShares": "

Lists all imported portfolios for which account-to-account shares were accepted by this account. By specifying the PortfolioShareType, you can list portfolios for which organizational shares were accepted by this account.

", "ListBudgetsForResource": "

Lists all the budgets associated to the specified resource.

", "ListConstraintsForPortfolio": "

Lists the constraints for the specified portfolio and product.

", "ListLaunchPaths": "

Lists the paths to the specified product. A path is how the user has access to a specified product, and is necessary when provisioning a product. A path also determines the constraints put on the product.

", @@ -1753,7 +1753,7 @@ "base": null, "refs": { "LaunchPath$Name": "

The name of the launch path.

", - "LaunchPathSummary$Name": "

The name of the portfolio to which the user was assigned.

" + "LaunchPathSummary$Name": "

The name of the portfolio that contains the product.

" } }, "PortfolioShareDetail": { @@ -1772,7 +1772,7 @@ "base": null, "refs": { "AcceptPortfolioShareInput$PortfolioShareType": "

The type of shared portfolios to accept. The default is to accept imported portfolios.

For example, aws servicecatalog accept-portfolio-share --portfolio-id \"port-2qwzkwxt3y5fk\" --portfolio-share-type AWS_ORGANIZATIONS

", - "ListAcceptedPortfolioSharesInput$PortfolioShareType": "

The type of shared portfolios to list. The default is to list imported portfolios.

", + "ListAcceptedPortfolioSharesInput$PortfolioShareType": "

The type of shared portfolios to list. The default is to list imported portfolios.

", "RejectPortfolioShareInput$PortfolioShareType": "

The type of shared portfolios to reject. The default is to reject imported portfolios.

For example, aws servicecatalog reject-portfolio-share --portfolio-id \"port-2qwzkwxt3y5fk\" --portfolio-share-type AWS_ORGANIZATIONS

" } }, diff --git a/apis/sts/2011-06-15/docs-2.json b/apis/sts/2011-06-15/docs-2.json index bcce8ca5f96..6aba17256b7 100644 --- a/apis/sts/2011-06-15/docs-2.json +++ b/apis/sts/2011-06-15/docs-2.json @@ -9,7 +9,7 @@ "GetAccessKeyInfo": "

Returns the account identifier for the specified access key ID.

Access keys consist of two parts: an access key ID (for example, AKIAIOSFODNN7EXAMPLE) and a secret access key (for example, wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY). For more information about access keys, see Managing Access Keys for IAM Users in the IAM User Guide.

When you pass an access key ID to this operation, it returns the ID of the Amazon Web Services account to which the keys belong. Access key IDs beginning with AKIA are long-term credentials for an IAM user or the Amazon Web Services account root user. Access key IDs beginning with ASIA are temporary credentials that are created using STS operations. If the account in the response belongs to you, you can sign in as the root user and review your root user access keys. Then, you can pull a credentials report to learn which IAM user owns the keys. To learn who requested the temporary credentials for an ASIA access key, view the STS events in your CloudTrail logs in the IAM User Guide.

This operation does not indicate the state of the access key. The key might be active, inactive, or deleted. Active keys might not have permissions to perform an operation. Providing a deleted access key might return an error that the key doesn't exist.

", "GetCallerIdentity": "

Returns details about the IAM user or role whose credentials are used to call the operation.

No permissions are required to perform this operation. If an administrator adds a policy to your IAM user or role that explicitly denies access to the sts:GetCallerIdentity action, you can still perform this operation. Permissions are not required because the same information is returned when an IAM user or role is denied access. To view an example response, see I Am Not Authorized to Perform: iam:DeleteVirtualMFADevice in the IAM User Guide.

", "GetFederationToken": "

Returns a set of temporary security credentials (consisting of an access key ID, a secret access key, and a security token) for a federated user. A typical use is in a proxy application that gets temporary security credentials on behalf of distributed applications inside a corporate network. You must call the GetFederationToken operation using the long-term security credentials of an IAM user. As a result, this call is appropriate in contexts where those credentials can be safely stored, usually in a server-based application. For a comparison of GetFederationToken with the other API operations that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the Amazon Web Services STS API operations in the IAM User Guide.

You can create a mobile-based or browser-based app that can authenticate users using a web identity provider like Login with Amazon, Facebook, Google, or an OpenID Connect-compatible identity provider. In this case, we recommend that you use Amazon Cognito or AssumeRoleWithWebIdentity. For more information, see Federation Through a Web-based Identity Provider in the IAM User Guide.

You can also call GetFederationToken using the security credentials of an Amazon Web Services account root user, but we do not recommend it. Instead, we recommend that you create an IAM user for the purpose of the proxy application. Then attach a policy to the IAM user that limits federated users to only the actions and resources that they need to access. For more information, see IAM Best Practices in the IAM User Guide.

Session duration

The temporary credentials are valid for the specified duration, from 900 seconds (15 minutes) up to a maximum of 129,600 seconds (36 hours). The default session duration is 43,200 seconds (12 hours). Temporary credentials obtained by using the Amazon Web Services account root user credentials have a maximum duration of 3,600 seconds (1 hour).

Permissions

You can use the temporary credentials created by GetFederationToken in any Amazon Web Services service except the following:

You must pass an inline or managed session policy to this operation. You can pass a single JSON policy document to use as an inline session policy. You can also specify up to 10 managed policies to use as managed session policies. The plaintext that you use for both inline and managed session policies can't exceed 2,048 characters.

Though the session policy parameters are optional, if you do not pass a policy, then the resulting federated user session has no permissions. When you pass session policies, the session permissions are the intersection of the IAM user policies and the session policies that you pass. This gives you a way to further restrict the permissions for a federated user. You cannot use session policies to grant more permissions than those that are defined in the permissions policy of the IAM user. For more information, see Session Policies in the IAM User Guide. For information about using GetFederationToken to create temporary security credentials, see GetFederationToken—Federation Through a Custom Identity Broker.

You can use the credentials to access a resource that has a resource-based policy. If that policy specifically references the federated user session in the Principal element of the policy, the session has the permissions allowed by the policy. These permissions are granted in addition to the permissions granted by the session policies.

Tags

(Optional) You can pass tag key-value pairs to your session. These are called session tags. For more information about session tags, see Passing Session Tags in STS in the IAM User Guide.

You can create a mobile-based or browser-based app that can authenticate users using a web identity provider like Login with Amazon, Facebook, Google, or an OpenID Connect-compatible identity provider. In this case, we recommend that you use Amazon Cognito or AssumeRoleWithWebIdentity. For more information, see Federation Through a Web-based Identity Provider in the IAM User Guide.

An administrator must grant you the permissions necessary to pass session tags. The administrator can also create granular permissions to allow you to pass only specific session tags. For more information, see Tutorial: Using Tags for Attribute-Based Access Control in the IAM User Guide.

Tag key–value pairs are not case sensitive, but case is preserved. This means that you cannot have separate Department and department tag keys. Assume that the user that you are federating has the Department=Marketing tag and you pass the department=engineering session tag. Department and department are not saved as separate tags, and the session tag passed in the request takes precedence over the user tag.

", - "GetSessionToken": "

Returns a set of temporary credentials for an Amazon Web Services account or IAM user. The credentials consist of an access key ID, a secret access key, and a security token. Typically, you use GetSessionToken if you want to use MFA to protect programmatic calls to specific Amazon Web Services API operations like Amazon EC2 StopInstances. MFA-enabled IAM users would need to call GetSessionToken and submit an MFA code that is associated with their MFA device. Using the temporary security credentials that are returned from the call, IAM users can then make programmatic calls to API operations that require MFA authentication. If you do not supply a correct MFA code, then the API returns an access denied error. For a comparison of GetSessionToken with the other API operations that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the Amazon Web Services STS API operations in the IAM User Guide.

Session Duration

The GetSessionToken operation must be called by using the long-term Amazon Web Services security credentials of the Amazon Web Services account root user or an IAM user. Credentials that are created by IAM users are valid for the duration that you specify. This duration can range from 900 seconds (15 minutes) up to a maximum of 129,600 seconds (36 hours), with a default of 43,200 seconds (12 hours). Credentials based on account credentials can range from 900 seconds (15 minutes) up to 3,600 seconds (1 hour), with a default of 1 hour.

Permissions

The temporary security credentials created by GetSessionToken can be used to make API calls to any Amazon Web Services service with the following exceptions:

We recommend that you do not call GetSessionToken with Amazon Web Services account root user credentials. Instead, follow our best practices by creating one or more IAM users, giving them the necessary permissions, and using IAM users for everyday interaction with Amazon Web Services.

The credentials that are returned by GetSessionToken are based on permissions associated with the user whose credentials were used to call the operation. If GetSessionToken is called using Amazon Web Services account root user credentials, the temporary credentials have root user permissions. Similarly, if GetSessionToken is called using the credentials of an IAM user, the temporary credentials have the same permissions as the IAM user.

For more information about using GetSessionToken to create temporary credentials, go to Temporary Credentials for Users in Untrusted Environments in the IAM User Guide.

" + "GetSessionToken": "

Returns a set of temporary credentials for an Amazon Web Services account or IAM user. The credentials consist of an access key ID, a secret access key, and a security token. Typically, you use GetSessionToken if you want to use MFA to protect programmatic calls to specific Amazon Web Services API operations like Amazon EC2 StopInstances. MFA-enabled IAM users would need to call GetSessionToken and submit an MFA code that is associated with their MFA device. Using the temporary security credentials that are returned from the call, IAM users can then make programmatic calls to API operations that require MFA authentication. If you do not supply a correct MFA code, then the API returns an access denied error. For a comparison of GetSessionToken with the other API operations that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the Amazon Web Services STS API operations in the IAM User Guide.

No permissions are required for users to perform this operation. The purpose of the sts:GetSessionToken operation is to authenticate the user using MFA. You cannot use policies to control authentication operations. For more information, see Permissions for GetSessionToken in the IAM User Guide.

Session Duration

The GetSessionToken operation must be called by using the long-term Amazon Web Services security credentials of the Amazon Web Services account root user or an IAM user. Credentials that are created by IAM users are valid for the duration that you specify. This duration can range from 900 seconds (15 minutes) up to a maximum of 129,600 seconds (36 hours), with a default of 43,200 seconds (12 hours). Credentials based on account credentials can range from 900 seconds (15 minutes) up to 3,600 seconds (1 hour), with a default of 1 hour.

Permissions

The temporary security credentials created by GetSessionToken can be used to make API calls to any Amazon Web Services service with the following exceptions:

We recommend that you do not call GetSessionToken with Amazon Web Services account root user credentials. Instead, follow our best practices by creating one or more IAM users, giving them the necessary permissions, and using IAM users for everyday interaction with Amazon Web Services.

The credentials that are returned by GetSessionToken are based on permissions associated with the user whose credentials were used to call the operation. If GetSessionToken is called using Amazon Web Services account root user credentials, the temporary credentials have root user permissions. Similarly, if GetSessionToken is called using the credentials of an IAM user, the temporary credentials have the same permissions as the IAM user.

For more information about using GetSessionToken to create temporary credentials, go to Temporary Credentials for Users in Untrusted Environments in the IAM User Guide.

" }, "shapes": { "AssumeRoleRequest": { diff --git a/apis/workspaces-web/2020-07-08/api-2.json b/apis/workspaces-web/2020-07-08/api-2.json index da7e5456dcc..90401d54656 100644 --- a/apis/workspaces-web/2020-07-08/api-2.json +++ b/apis/workspaces-web/2020-07-08/api-2.json @@ -120,6 +120,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"} ] @@ -930,7 +931,8 @@ "type":"string", "max":131072, "min":2, - "pattern":"\\{[\\S\\s]*\\}\\s*" + "pattern":"\\{[\\S\\s]*\\}\\s*", + "sensitive":true }, "BrowserSettings":{ "type":"structure", @@ -1149,7 +1151,9 @@ "idempotencyToken":true }, "copyAllowed":{"shape":"EnabledType"}, + "disconnectTimeoutInMinutes":{"shape":"DisconnectTimeoutInMinutes"}, "downloadAllowed":{"shape":"EnabledType"}, + "idleDisconnectTimeoutInMinutes":{"shape":"IdleDisconnectTimeoutInMinutes"}, "pasteAllowed":{"shape":"EnabledType"}, "printAllowed":{"shape":"EnabledType"}, "tags":{"shape":"TagList"}, @@ -1323,11 +1327,18 @@ "members":{ } }, + "DisconnectTimeoutInMinutes":{ + "type":"integer", + "box":true, + "max":600, + "min":1 + }, "DisplayName":{ "type":"string", "max":64, "min":1, - "pattern":"^.+$" + "pattern":"^.+$", + "sensitive":true }, "EnabledType":{ "type":"string", @@ -1503,7 +1514,8 @@ "IdentityProviderDetails":{ "type":"map", "key":{"shape":"StringType"}, - "value":{"shape":"StringType"} + "value":{"shape":"StringType"}, + "sensitive":true }, "IdentityProviderList":{ "type":"list", @@ -1513,7 +1525,8 @@ "type":"string", "max":32, "min":1, - "pattern":"^[^_][\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}][^_]+$" + "pattern":"^[^_][\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}][^_]+$", + "sensitive":true }, "IdentityProviderSummary":{ "type":"structure", @@ -1534,6 +1547,12 @@ "OIDC" ] }, + "IdleDisconnectTimeoutInMinutes":{ + "type":"integer", + "box":true, + "max":60, + "min":0 + }, "InternalServerException":{ "type":"structure", "members":{ @@ -1904,14 +1923,16 @@ "members":{ "Key":{"shape":"TagKey"}, "Value":{"shape":"TagValue"} - } + }, + "sensitive":true }, "TagExceptionMessage":{"type":"string"}, "TagKey":{ "type":"string", "max":128, "min":1, - "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", + "sensitive":true }, "TagKeyList":{ "type":"list", @@ -1953,7 +1974,8 @@ "type":"string", "max":256, "min":0, - "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", + "sensitive":true }, "ThrottlingException":{ "type":"structure", @@ -2151,7 +2173,9 @@ "idempotencyToken":true }, "copyAllowed":{"shape":"EnabledType"}, + "disconnectTimeoutInMinutes":{"shape":"DisconnectTimeoutInMinutes"}, "downloadAllowed":{"shape":"EnabledType"}, + "idleDisconnectTimeoutInMinutes":{"shape":"IdleDisconnectTimeoutInMinutes"}, "pasteAllowed":{"shape":"EnabledType"}, "printAllowed":{"shape":"EnabledType"}, "uploadAllowed":{"shape":"EnabledType"}, @@ -2175,7 +2199,9 @@ "members":{ "associatedPortalArns":{"shape":"ArnList"}, "copyAllowed":{"shape":"EnabledType"}, + "disconnectTimeoutInMinutes":{"shape":"DisconnectTimeoutInMinutes"}, "downloadAllowed":{"shape":"EnabledType"}, + "idleDisconnectTimeoutInMinutes":{"shape":"IdleDisconnectTimeoutInMinutes"}, "pasteAllowed":{"shape":"EnabledType"}, "printAllowed":{"shape":"EnabledType"}, "uploadAllowed":{"shape":"EnabledType"}, @@ -2190,7 +2216,9 @@ "type":"structure", "members":{ "copyAllowed":{"shape":"EnabledType"}, + "disconnectTimeoutInMinutes":{"shape":"DisconnectTimeoutInMinutes"}, "downloadAllowed":{"shape":"EnabledType"}, + "idleDisconnectTimeoutInMinutes":{"shape":"IdleDisconnectTimeoutInMinutes"}, "pasteAllowed":{"shape":"EnabledType"}, "printAllowed":{"shape":"EnabledType"}, "uploadAllowed":{"shape":"EnabledType"}, diff --git a/apis/workspaces-web/2020-07-08/docs-2.json b/apis/workspaces-web/2020-07-08/docs-2.json index 5d18d20a963..fe8e26a9413 100644 --- a/apis/workspaces-web/2020-07-08/docs-2.json +++ b/apis/workspaces-web/2020-07-08/docs-2.json @@ -41,7 +41,7 @@ "TagResource": "

Adds or overwrites one or more tags for the specified resource.

", "UntagResource": "

Removes one or more tags from the specified resource.

", "UpdateBrowserSettings": "

Updates browser settings.

", - "UpdateIdentityProvider": "

Updates the identity provider.

", + "UpdateIdentityProvider": "

Updates the identity provider.

", "UpdateNetworkSettings": "

Updates network settings.

", "UpdatePortal": "

Updates a web portal.

", "UpdateTrustStore": "

Updates the trust store.

", @@ -457,6 +457,15 @@ "refs": { } }, + "DisconnectTimeoutInMinutes": { + "base": null, + "refs": { + "CreateUserSettingsRequest$disconnectTimeoutInMinutes": "

The amount of time that a streaming session remains active after users disconnect.

", + "UpdateUserSettingsRequest$disconnectTimeoutInMinutes": "

The amount of time that a streaming session remains active after users disconnect.

", + "UserSettings$disconnectTimeoutInMinutes": "

The amount of time that a streaming session remains active after users disconnect.

", + "UserSettingsSummary$disconnectTimeoutInMinutes": "

The amount of time that a streaming session remains active after users disconnect.

" + } + }, "DisplayName": { "base": null, "refs": { @@ -607,9 +616,9 @@ "IdentityProviderDetails": { "base": null, "refs": { - "CreateIdentityProviderRequest$identityProviderDetails": "

The identity provider details. The following list describes the provider detail keys for each identity provider type.

", + "CreateIdentityProviderRequest$identityProviderDetails": "

The identity provider details. The following list describes the provider detail keys for each identity provider type.

", "IdentityProvider$identityProviderDetails": "

The identity provider details. The following list describes the provider detail keys for each identity provider type.

", - "UpdateIdentityProviderRequest$identityProviderDetails": "

The details of the identity provider.

" + "UpdateIdentityProviderRequest$identityProviderDetails": "

The details of the identity provider. The following list describes the provider detail keys for each identity provider type.

" } }, "IdentityProviderList": { @@ -642,6 +651,15 @@ "UpdateIdentityProviderRequest$identityProviderType": "

The type of the identity provider.

" } }, + "IdleDisconnectTimeoutInMinutes": { + "base": null, + "refs": { + "CreateUserSettingsRequest$idleDisconnectTimeoutInMinutes": "

The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.

", + "UpdateUserSettingsRequest$idleDisconnectTimeoutInMinutes": "

The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.

", + "UserSettings$idleDisconnectTimeoutInMinutes": "

The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.

", + "UserSettingsSummary$idleDisconnectTimeoutInMinutes": "

The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.

" + } + }, "InternalServerException": { "base": "

There is an internal server error.

", "refs": { diff --git a/gems/aws-sdk-applicationdiscoveryservice/CHANGELOG.md b/gems/aws-sdk-applicationdiscoveryservice/CHANGELOG.md index 2f208511d20..072c8408b73 100644 --- a/gems/aws-sdk-applicationdiscoveryservice/CHANGELOG.md +++ b/gems/aws-sdk-applicationdiscoveryservice/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.45.0 (2022-05-16) +------------------ + +* Feature - Add Migration Evaluator Collector details to the GetDiscoverySummary API response + 1.44.0 (2022-02-24) ------------------ diff --git a/gems/aws-sdk-applicationdiscoveryservice/VERSION b/gems/aws-sdk-applicationdiscoveryservice/VERSION index 372cf402c73..50aceaa7b71 100644 --- a/gems/aws-sdk-applicationdiscoveryservice/VERSION +++ b/gems/aws-sdk-applicationdiscoveryservice/VERSION @@ -1 +1 @@ -1.44.0 +1.45.0 diff --git a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice.rb b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice.rb index 9b2cac1927d..5937ad5dc91 100644 --- a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice.rb +++ b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice.rb @@ -48,6 +48,6 @@ # @!group service module Aws::ApplicationDiscoveryService - GEM_VERSION = '1.44.0' + GEM_VERSION = '1.45.0' end diff --git a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/client.rb b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/client.rb index 0f617c5dcbb..81c676d8293 100644 --- a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/client.rb +++ b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/client.rb @@ -391,11 +391,11 @@ def associate_configuration_items_to_application(params = {}, options = {}) # Each import task has a number of records that can identify servers or # applications. # - # AWS Application Discovery Service has built-in matching logic that - # will identify when discovered servers match existing entries that - # you've previously discovered, the information for the - # already-existing discovered server is updated. When you delete an - # import task that contains records that were used to match, the + # Amazon Web Services Application Discovery Service has built-in + # matching logic that will identify when discovered servers match + # existing entries that you've previously discovered, the information + # for the already-existing discovered server is updated. When you delete + # an import task that contains records that were used to match, the # information in those matched records that comes from the deleted # records will also be deleted. # @@ -441,8 +441,8 @@ def batch_delete_import_data(params = {}, options = {}) # @example Request syntax with placeholder values # # resp = client.create_application({ - # name: "String", # required - # description: "String", + # name: "ApplicationName", # required + # description: "ApplicationDescription", # }) # # @example Response structure @@ -460,6 +460,8 @@ def create_application(params = {}, options = {}) # that help you categorize IT assets. This API accepts a list of # multiple configuration items. # + # Do not store sensitive information (like personal data) in tags. + # # @option params [required, Array] :configuration_ids # A list of configuration items that you want to tag. # @@ -553,7 +555,8 @@ def delete_tags(params = {}, options = {}) # @option params [Array] :agent_ids # The agent or the Connector IDs for which you want information. If you # specify no IDs, the system returns information about all - # agents/Connectors associated with your AWS user account. + # agents/Connectors associated with your Amazon Web Services user + # account. # # @option params [Array] :filters # You can filter the request using various logical operators and a @@ -635,8 +638,8 @@ def describe_agents(params = {}, options = {}) # number of network cards, etc. # # For a complete list of outputs for each asset type, see [Using the - # DescribeConfigurations Action][1] in the *AWS Application Discovery - # Service User Guide*. + # DescribeConfigurations Action][1] in the *Amazon Web Services + # Application Discovery Service User Guide*. # # # @@ -721,7 +724,7 @@ def describe_continuous_exports(params = {}, options = {}) end # `DescribeExportConfigurations` is deprecated. Use - # [DescribeImportTasks][1], instead. + # [DescribeExportTasks][1], instead. # # # @@ -1024,6 +1027,7 @@ def export_configurations(params = {}, options = {}) # * {Types::GetDiscoverySummaryResponse#servers_mappedto_tags #servers_mappedto_tags} => Integer # * {Types::GetDiscoverySummaryResponse#agent_summary #agent_summary} => Types::CustomerAgentInfo # * {Types::GetDiscoverySummaryResponse#connector_summary #connector_summary} => Types::CustomerConnectorInfo + # * {Types::GetDiscoverySummaryResponse#me_collector_summary #me_collector_summary} => Types::CustomerMeCollectorInfo # # @example Response structure # @@ -1045,6 +1049,13 @@ def export_configurations(params = {}, options = {}) # resp.connector_summary.unhealthy_connectors #=> Integer # resp.connector_summary.total_connectors #=> Integer # resp.connector_summary.unknown_connectors #=> Integer + # resp.me_collector_summary.active_me_collectors #=> Integer + # resp.me_collector_summary.healthy_me_collectors #=> Integer + # resp.me_collector_summary.deny_listed_me_collectors #=> Integer + # resp.me_collector_summary.shutdown_me_collectors #=> Integer + # resp.me_collector_summary.unhealthy_me_collectors #=> Integer + # resp.me_collector_summary.total_me_collectors #=> Integer + # resp.me_collector_summary.unknown_me_collectors #=> Integer # # @overload get_discovery_summary(params = {}) # @param [Hash] params ({}) @@ -1068,7 +1079,7 @@ def get_discovery_summary(params = {}, options = {}) # # For a complete list of filter options and guidance about using them # with this action, see [Using the ListConfigurations Action][1] in the - # *AWS Application Discovery Service User Guide*. + # *Amazon Web Services Application Discovery Service User Guide*. # # # @@ -1087,8 +1098,8 @@ def get_discovery_summary(params = {}, options = {}) # @option params [Array] :order_by # Certain filter criteria return output that can be sorted in ascending # or descending order. For a list of output characteristics for each - # filter, see [Using the ListConfigurations Action][1] in the *AWS - # Application Discovery Service User Guide*. + # filter, see [Using the ListConfigurations Action][1] in the *Amazon + # Web Services Application Discovery Service User Guide*. # # # @@ -1114,7 +1125,7 @@ def get_discovery_summary(params = {}, options = {}) # next_token: "NextToken", # order_by: [ # { - # field_name: "String", # required + # field_name: "OrderByElementFieldName", # required # sort_order: "ASC", # accepts ASC, DESC # }, # ], @@ -1224,12 +1235,13 @@ def start_continuous_export(params = {}, options = {}) # @option params [required, Array] :agent_ids # The IDs of the agents or connectors from which to start collecting # data. If you send a request to an agent/connector ID that you do not - # have permission to contact, according to your AWS account, the service - # does not throw an exception. Instead, it returns the error in the - # *Description* field. If you send a request to multiple - # agents/connectors and you do not have permission to contact some of - # those agents/connectors, the system does not throw an exception. - # Instead, the system shows `Failed` in the *Description* field. + # have permission to contact, according to your Amazon Web Services + # account, the service does not throw an exception. Instead, it returns + # the error in the *Description* field. If you send a request to + # multiple agents/connectors and you do not have permission to contact + # some of those agents/connectors, the system does not throw an + # exception. Instead, the system shows `Failed` in the *Description* + # field. # # @return [Types::StartDataCollectionByAgentIdsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -1265,9 +1277,9 @@ def start_data_collection_by_agent_ids(params = {}, options = {}) # concurrently running exports. # # If you do not include an `agentIds` filter, summary data is exported - # that includes both AWS Agentless Discovery Connector data and summary - # data from AWS Discovery Agents. Export of summary data is limited to - # two exports per day. + # that includes both Amazon Web Services Agentless Discovery Connector + # data and summary data from Amazon Web Services Discovery Agents. + # Export of summary data is limited to two exports per day. # # @option params [Array] :export_data_format # The file format for the returned export data. Default value is `CSV`. @@ -1322,41 +1334,42 @@ def start_export_task(params = {}, options = {}) end # Starts an import task, which allows you to import details of your - # on-premises environment directly into AWS Migration Hub without having - # to use the Application Discovery Service (ADS) tools such as the - # Discovery Connector or Discovery Agent. This gives you the option to - # perform migration assessment and planning directly from your imported - # data, including the ability to group your devices as applications and - # track their migration status. + # on-premises environment directly into Amazon Web Services Migration + # Hub without having to use the Application Discovery Service (ADS) + # tools such as the Discovery Connector or Discovery Agent. This gives + # you the option to perform migration assessment and planning directly + # from your imported data, including the ability to group your devices + # as applications and track their migration status. # # To start an import request, do this: # # 1. Download the specially formatted comma separated value (CSV) # import template, which you can find here: - # [https://s3-us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import\_template.csv][1]. + # [https://s3.us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import\_template.csv][1]. # # 2. Fill out the template with your server and application data. # # 3. Upload your import file to an Amazon S3 bucket, and make a note of # it's Object URL. Your import file must be in the CSV format. # - # 4. Use the console or the `StartImportTask` command with the AWS CLI - # or one of the AWS SDKs to import the records from your file. + # 4. Use the console or the `StartImportTask` command with the Amazon + # Web Services CLI or one of the Amazon Web Services SDKs to import + # the records from your file. # # For more information, including step-by-step procedures, see - # [Migration Hub Import][2] in the *AWS Application Discovery Service - # User Guide*. + # [Migration Hub Import][2] in the *Amazon Web Services Application + # Discovery Service User Guide*. # # There are limits to the number of import tasks you can create (and - # delete) in an AWS account. For more information, see [AWS Application - # Discovery Service Limits][3] in the *AWS Application Discovery Service - # User Guide*. + # delete) in an Amazon Web Services account. For more information, see + # [Amazon Web Services Application Discovery Service Limits][3] in the + # *Amazon Web Services Application Discovery Service User Guide*. # # # # # - # [1]: https://s3-us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv + # [1]: https://s3.us-west-2.amazonaws.com/templates-7cffcf56-bd96-4b1c-b45b-a5b42f282e46/import_template.csv # [2]: https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-import.html # [3]: https://docs.aws.amazon.com/application-discovery/latest/userguide/ads_service_limits.html # @@ -1381,8 +1394,8 @@ def start_export_task(params = {}, options = {}) # @option params [required, String] :import_url # The URL for your import file that you've uploaded to Amazon S3. # - # If you're using the AWS CLI, this URL is structured as follows: - # `s3://BucketName/ImportFileName.CSV` + # If you're using the Amazon Web Services CLI, this URL is structured + # as follows: `s3://BucketName/ImportFileName.CSV` # # # @@ -1497,8 +1510,8 @@ def stop_data_collection_by_agent_ids(params = {}, options = {}) # # resp = client.update_application({ # configuration_id: "ApplicationId", # required - # name: "String", - # description: "String", + # name: "ApplicationName", + # description: "ApplicationDescription", # }) # # @overload update_application(params = {}) @@ -1521,7 +1534,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-applicationdiscoveryservice' - context[:gem_version] = '1.44.0' + context[:gem_version] = '1.45.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/client_api.rb b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/client_api.rb index d8c8f7486c3..fec6bc824cc 100644 --- a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/client_api.rb +++ b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/client_api.rb @@ -22,8 +22,10 @@ module ClientApi AgentNetworkInfoList = Shapes::ListShape.new(name: 'AgentNetworkInfoList') AgentStatus = Shapes::StringShape.new(name: 'AgentStatus') AgentsInfo = Shapes::ListShape.new(name: 'AgentsInfo') + ApplicationDescription = Shapes::StringShape.new(name: 'ApplicationDescription') ApplicationId = Shapes::StringShape.new(name: 'ApplicationId') ApplicationIdsList = Shapes::ListShape.new(name: 'ApplicationIdsList') + ApplicationName = Shapes::StringShape.new(name: 'ApplicationName') AssociateConfigurationItemsToApplicationRequest = Shapes::StructureShape.new(name: 'AssociateConfigurationItemsToApplicationRequest') AssociateConfigurationItemsToApplicationResponse = Shapes::StructureShape.new(name: 'AssociateConfigurationItemsToApplicationResponse') AuthorizationErrorException = Shapes::StructureShape.new(name: 'AuthorizationErrorException') @@ -57,6 +59,7 @@ module ClientApi CreateTagsResponse = Shapes::StructureShape.new(name: 'CreateTagsResponse') CustomerAgentInfo = Shapes::StructureShape.new(name: 'CustomerAgentInfo') CustomerConnectorInfo = Shapes::StructureShape.new(name: 'CustomerConnectorInfo') + CustomerMeCollectorInfo = Shapes::StructureShape.new(name: 'CustomerMeCollectorInfo') DataSource = Shapes::StringShape.new(name: 'DataSource') DatabaseName = Shapes::StringShape.new(name: 'DatabaseName') DeleteApplicationsRequest = Shapes::StructureShape.new(name: 'DeleteApplicationsRequest') @@ -127,6 +130,7 @@ module ClientApi NextToken = Shapes::StringShape.new(name: 'NextToken') OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException') OrderByElement = Shapes::StructureShape.new(name: 'OrderByElement') + OrderByElementFieldName = Shapes::StringShape.new(name: 'OrderByElementFieldName') OrderByList = Shapes::ListShape.new(name: 'OrderByList') ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException') ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException') @@ -246,8 +250,8 @@ module ClientApi ContinuousExportIds.member = Shapes::ShapeRef.new(shape: ConfigurationsExportId) - CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name")) - CreateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description")) + CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "name")) + CreateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: ApplicationDescription, location_name: "description")) CreateApplicationRequest.struct_class = Types::CreateApplicationRequest CreateApplicationResponse.add_member(:configuration_id, Shapes::ShapeRef.new(shape: String, location_name: "configurationId")) @@ -277,6 +281,15 @@ module ClientApi CustomerConnectorInfo.add_member(:unknown_connectors, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "unknownConnectors")) CustomerConnectorInfo.struct_class = Types::CustomerConnectorInfo + CustomerMeCollectorInfo.add_member(:active_me_collectors, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "activeMeCollectors")) + CustomerMeCollectorInfo.add_member(:healthy_me_collectors, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "healthyMeCollectors")) + CustomerMeCollectorInfo.add_member(:deny_listed_me_collectors, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "denyListedMeCollectors")) + CustomerMeCollectorInfo.add_member(:shutdown_me_collectors, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "shutdownMeCollectors")) + CustomerMeCollectorInfo.add_member(:unhealthy_me_collectors, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "unhealthyMeCollectors")) + CustomerMeCollectorInfo.add_member(:total_me_collectors, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "totalMeCollectors")) + CustomerMeCollectorInfo.add_member(:unknown_me_collectors, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "unknownMeCollectors")) + CustomerMeCollectorInfo.struct_class = Types::CustomerMeCollectorInfo + DeleteApplicationsRequest.add_member(:configuration_ids, Shapes::ShapeRef.new(shape: ApplicationIdsList, required: true, location_name: "configurationIds")) DeleteApplicationsRequest.struct_class = Types::DeleteApplicationsRequest @@ -406,6 +419,7 @@ module ClientApi GetDiscoverySummaryResponse.add_member(:servers_mappedto_tags, Shapes::ShapeRef.new(shape: Long, location_name: "serversMappedtoTags")) GetDiscoverySummaryResponse.add_member(:agent_summary, Shapes::ShapeRef.new(shape: CustomerAgentInfo, location_name: "agentSummary")) GetDiscoverySummaryResponse.add_member(:connector_summary, Shapes::ShapeRef.new(shape: CustomerConnectorInfo, location_name: "connectorSummary")) + GetDiscoverySummaryResponse.add_member(:me_collector_summary, Shapes::ShapeRef.new(shape: CustomerMeCollectorInfo, location_name: "meCollectorSummary")) GetDiscoverySummaryResponse.struct_class = Types::GetDiscoverySummaryResponse HomeRegionNotSetException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message")) @@ -475,7 +489,7 @@ module ClientApi OperationNotPermittedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message")) OperationNotPermittedException.struct_class = Types::OperationNotPermittedException - OrderByElement.add_member(:field_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "fieldName")) + OrderByElement.add_member(:field_name, Shapes::ShapeRef.new(shape: OrderByElementFieldName, required: true, location_name: "fieldName")) OrderByElement.add_member(:sort_order, Shapes::ShapeRef.new(shape: orderString, location_name: "sortOrder")) OrderByElement.struct_class = Types::OrderByElement @@ -553,8 +567,8 @@ module ClientApi ToDeleteIdentifierList.member = Shapes::ShapeRef.new(shape: ImportTaskIdentifier) UpdateApplicationRequest.add_member(:configuration_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "configurationId")) - UpdateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name")) - UpdateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description")) + UpdateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "name")) + UpdateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: ApplicationDescription, location_name: "description")) UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse diff --git a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb index 6bf09b9e1f1..6db024e12cb 100644 --- a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb +++ b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb @@ -38,11 +38,11 @@ class AgentConfigurationStatus < Struct.new( include Aws::Structure end - # Information about agents or connectors associated with the user’s AWS - # account. Information includes agent or connector IDs, IP addresses, - # media access control (MAC) addresses, agent or connector health, - # hostname where the agent or connector resides, and agent version for - # each agent. + # Information about agents or connectors associated with the user’s + # Amazon Web Services account. Information includes agent or connector + # IDs, IP addresses, media access control (MAC) addresses, agent or + # connector health, hostname where the agent or connector resides, and + # agent version for each agent. # # @!attribute [rw] agent_id # The agent or connector ID. @@ -144,8 +144,8 @@ class AssociateConfigurationItemsToApplicationRequest < Struct.new( class AssociateConfigurationItemsToApplicationResponse < Aws::EmptyStructure; end - # The AWS user account does not have permission to perform the action. - # Check the IAM policy associated with this account. + # The Amazon Web Services user account does not have permission to + # perform the action. Check the IAM policy associated with this account. # # @!attribute [rw] message # @return [String] @@ -288,10 +288,10 @@ class ConflictErrorException < Struct.new( # type can have the following values: # # * ACCESS\_DENIED - You don’t have permission to start Data - # Exploration in Amazon Athena. Contact your AWS administrator for - # help. For more information, see [Setting Up AWS Application - # Discovery Service][1] in the Application Discovery Service User - # Guide. + # Exploration in Amazon Athena. Contact your Amazon Web Services + # administrator for help. For more information, see [Setting Up + # Amazon Web Services Application Discovery Service][1] in the + # Application Discovery Service User Guide. # # * DELIVERY\_STREAM\_LIMIT\_FAILURE - You reached the limit for # Amazon Kinesis Data Firehose delivery streams. Reduce the number @@ -313,25 +313,61 @@ class ConflictErrorException < Struct.new( # # * INTERNAL\_FAILURE - The Data Exploration feature is in an error # state because of an internal failure. Try again later. If this - # problem persists, contact AWS Support. + # problem persists, contact Amazon Web Services Support. + # + # * LAKE\_FORMATION\_ACCESS\_DENIED - You don't have sufficient lake + # formation permissions to start continuous export. For more + # information, see [ Upgrading Amazon Web Services Glue Data + # Permissions to the Amazon Web Services Lake Formation Model ][4] + # in the Amazon Web Services *Lake Formation Developer Guide*. + # + # You can use one of the following two ways to resolve this issue. + # + # 1. If you don’t want to use the Lake Formation permission model, + # you can change the default Data Catalog settings to use only + # Amazon Web Services Identity and Access Management (IAM) + # access control for new databases. For more information, see + # [Change Data Catalog Settings][5] in the *Lake Formation + # Developer Guide*. + # + # 2. You can give the service-linked IAM roles + # AWSServiceRoleForApplicationDiscoveryServiceContinuousExport + # and AWSApplicationDiscoveryServiceFirehose the required Lake + # Formation permissions. For more information, see [ Granting + # Database Permissions][6] in the *Lake Formation Developer + # Guide*. + # + # 1. AWSServiceRoleForApplicationDiscoveryServiceContinuousExport + # - Grant database creator permissions, which gives the role + # database creation ability and implicit permissions for any + # created tables. For more information, see [ Implicit Lake + # Formation Permissions ][7] in the *Lake Formation + # Developer Guide*. + # + # 2. AWSApplicationDiscoveryServiceFirehose - Grant describe + # permissions for all tables in the database. # # * S3\_BUCKET\_LIMIT\_FAILURE - You reached the limit for Amazon S3 - # buckets. Reduce the number of Amazon S3 buckets or request a limit + # buckets. Reduce the number of S3 buckets or request a limit # increase and try again. For more information, see [Bucket - # Restrictions and Limitations][4] in the Amazon Simple Storage + # Restrictions and Limitations][8] in the Amazon Simple Storage # Service Developer Guide. # # * S3\_NOT\_SIGNED\_UP - Your account is not signed up for the Amazon # S3 service. You must sign up before you can use Amazon S3. You can - # sign up at the following URL: [https://aws.amazon.com/s3][5]. + # sign up at the following URL: [https://aws.amazon.com/s3][9]. # # # # [1]: http://docs.aws.amazon.com/application-discovery/latest/userguide/setting-up.html # [2]: http://docs.aws.amazon.com/streams/latest/dev/service-sizes-and-limits.html # [3]: http://docs.aws.amazon.com/application-discovery/latest/userguide/setting-up.html#setting-up-user-policy - # [4]: http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html - # [5]: https://aws.amazon.com/s3 + # [4]: http://docs.aws.amazon.com/lake-formation/latest/dg/upgrade-glue-lake-formation.html + # [5]: https://docs.aws.amazon.com/lake-formation/latest/dg/getting-started-setup.html#setup-change-cat-settings + # [6]: https://docs.aws.amazon.com/lake-formation/latest/dg/granting-database-permissions.html + # [7]: https://docs.aws.amazon.com/lake-formation/latest/dg/implicit-permissions.html + # [8]: http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html + # [9]: https://aws.amazon.com/s3 # @return [String] # # @!attribute [rw] s3_bucket @@ -379,8 +415,8 @@ class ContinuousExportDescription < Struct.new( # data as a hash: # # { - # name: "String", # required - # description: "String", + # name: "ApplicationName", # required + # description: "ApplicationDescription", # } # # @!attribute [rw] name @@ -526,6 +562,48 @@ class CustomerConnectorInfo < Struct.new( include Aws::Structure end + # The inventory data for installed Migration Evaluator collectors. + # + # @!attribute [rw] active_me_collectors + # The number of active Migration Evaluator collectors. + # @return [Integer] + # + # @!attribute [rw] healthy_me_collectors + # The number of healthy Migration Evaluator collectors. + # @return [Integer] + # + # @!attribute [rw] deny_listed_me_collectors + # The number of deny-listed Migration Evaluator collectors. + # @return [Integer] + # + # @!attribute [rw] shutdown_me_collectors + # The number of Migration Evaluator collectors with `SHUTDOWN` status. + # @return [Integer] + # + # @!attribute [rw] unhealthy_me_collectors + # The number of unhealthy Migration Evaluator collectors. + # @return [Integer] + # + # @!attribute [rw] total_me_collectors + # The total number of Migration Evaluator collectors. + # @return [Integer] + # + # @!attribute [rw] unknown_me_collectors + # The number of unknown Migration Evaluator collectors. + # @return [Integer] + # + class CustomerMeCollectorInfo < Struct.new( + :active_me_collectors, + :healthy_me_collectors, + :deny_listed_me_collectors, + :shutdown_me_collectors, + :unhealthy_me_collectors, + :total_me_collectors, + :unknown_me_collectors) + SENSITIVE = [] + include Aws::Structure + end + # @note When making an API call, you may pass DeleteApplicationsRequest # data as a hash: # @@ -598,7 +676,8 @@ class DeleteTagsResponse < Aws::EmptyStructure; end # @!attribute [rw] agent_ids # The agent or the Connector IDs for which you want information. If # you specify no IDs, the system returns information about all - # agents/Connectors associated with your AWS user account. + # agents/Connectors associated with your Amazon Web Services user + # account. # @return [Array] # # @!attribute [rw] filters @@ -1007,17 +1086,17 @@ class ExportConfigurationsResponse < Struct.new( # } # # @!attribute [rw] name - # A single `ExportFilter` name. Supported filters: `agentId`. + # A single `ExportFilter` name. Supported filters: `agentIds`. # @return [String] # # @!attribute [rw] values - # A single `agentId` for a Discovery Agent. An `agentId` can be found - # using the [DescribeAgents][1] action. Typically an ADS `agentId` is + # A single agent ID for a Discovery Agent. An agent ID can be found + # using the [DescribeAgents][1] action. Typically an ADS agent ID is # in the form `o-0123456789abcdef0`. # # # - # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_DescribeExportTasks.html + # [1]: http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_DescribeAgents.html # @return [Array] # # @!attribute [rw] condition @@ -1090,8 +1169,8 @@ class ExportInfo < Struct.new( # A filter that can use conditional operators. # # For more information about filters, see [Querying Discovered - # Configuration Items][1] in the *AWS Application Discovery Service User - # Guide*. + # Configuration Items][1] in the *Amazon Web Services Application + # Discovery Service User Guide*. # # # @@ -1163,13 +1242,19 @@ class GetDiscoverySummaryRequest < Aws::EmptyStructure; end # health. # @return [Types::CustomerConnectorInfo] # + # @!attribute [rw] me_collector_summary + # Details about Migration Evaluator collectors, including collector + # status and health. + # @return [Types::CustomerMeCollectorInfo] + # class GetDiscoverySummaryResponse < Struct.new( :servers, :applications, :servers_mapped_to_applications, :servers_mappedto_tags, :agent_summary, - :connector_summary) + :connector_summary, + :me_collector_summary) SENSITIVE = [] include Aws::Structure end @@ -1191,7 +1276,7 @@ class HomeRegionNotSetException < Struct.new( # # @!attribute [rw] import_task_id # The unique ID for a specific import task. These IDs aren't globally - # unique, but they are unique within an AWS account. + # unique, but they are unique within an Amazon Web Services account. # @return [String] # # @!attribute [rw] client_request_token @@ -1364,7 +1449,7 @@ class InvalidParameterValueException < Struct.new( # next_token: "NextToken", # order_by: [ # { - # field_name: "String", # required + # field_name: "OrderByElementFieldName", # required # sort_order: "ASC", # accepts ASC, DESC # }, # ], @@ -1382,7 +1467,7 @@ class InvalidParameterValueException < Struct.new( # # For a complete list of filter options and guidance about using them # with this action, see [Using the ListConfigurations Action][1] in - # the *AWS Application Discovery Service User Guide*. + # the *Amazon Web Services Application Discovery Service User Guide*. # # # @@ -1405,7 +1490,7 @@ class InvalidParameterValueException < Struct.new( # Certain filter criteria return output that can be sorted in # ascending or descending order. For a list of output characteristics # for each filter, see [Using the ListConfigurations Action][1] in the - # *AWS Application Discovery Service User Guide*. + # *Amazon Web Services Application Discovery Service User Guide*. # # # @@ -1565,7 +1650,7 @@ class OperationNotPermittedException < Struct.new( # data as a hash: # # { - # field_name: "String", # required + # field_name: "OrderByElementFieldName", # required # sort_order: "ASC", # accepts ASC, DESC # } # @@ -1673,12 +1758,13 @@ class StartContinuousExportResponse < Struct.new( # @!attribute [rw] agent_ids # The IDs of the agents or connectors from which to start collecting # data. If you send a request to an agent/connector ID that you do not - # have permission to contact, according to your AWS account, the - # service does not throw an exception. Instead, it returns the error - # in the *Description* field. If you send a request to multiple - # agents/connectors and you do not have permission to contact some of - # those agents/connectors, the system does not throw an exception. - # Instead, the system shows `Failed` in the *Description* field. + # have permission to contact, according to your Amazon Web Services + # account, the service does not throw an exception. Instead, it + # returns the error in the *Description* field. If you send a request + # to multiple agents/connectors and you do not have permission to + # contact some of those agents/connectors, the system does not throw + # an exception. Instead, the system shows `Failed` in the + # *Description* field. # @return [Array] # class StartDataCollectionByAgentIdsRequest < Struct.new( @@ -1794,8 +1880,8 @@ class StartExportTaskResponse < Struct.new( # @!attribute [rw] import_url # The URL for your import file that you've uploaded to Amazon S3. # - # If you're using the AWS CLI, this URL is structured as follows: - # `s3://BucketName/ImportFileName.CSV` + # If you're using the Amazon Web Services CLI, this URL is structured + # as follows: `s3://BucketName/ImportFileName.CSV` # # # @return [String] @@ -1886,6 +1972,8 @@ class StopDataCollectionByAgentIdsResponse < Struct.new( # Metadata that help you categorize IT assets. # + # Do not store sensitive information (like personal data) in tags. + # # @note When making an API call, you may pass Tag # data as a hash: # @@ -1940,8 +2028,8 @@ class TagFilter < Struct.new( # # { # configuration_id: "ApplicationId", # required - # name: "String", - # description: "String", + # name: "ApplicationName", + # description: "ApplicationDescription", # } # # @!attribute [rw] configuration_id diff --git a/gems/aws-sdk-cloudfront/CHANGELOG.md b/gems/aws-sdk-cloudfront/CHANGELOG.md index 1ef7352e2fd..442a2551b22 100644 --- a/gems/aws-sdk-cloudfront/CHANGELOG.md +++ b/gems/aws-sdk-cloudfront/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.65.0 (2022-05-16) +------------------ + +* Feature - Introduced a new error (TooLongCSPInResponseHeadersPolicy) that is returned when the value of the Content-Security-Policy header in a response headers policy exceeds the maximum allowed length. + 1.64.0 (2022-04-26) ------------------ diff --git a/gems/aws-sdk-cloudfront/VERSION b/gems/aws-sdk-cloudfront/VERSION index 9405730420f..902c74186fb 100644 --- a/gems/aws-sdk-cloudfront/VERSION +++ b/gems/aws-sdk-cloudfront/VERSION @@ -1 +1 @@ -1.64.0 +1.65.0 diff --git a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront.rb b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront.rb index 17905eab871..b39e6c358c0 100644 --- a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront.rb +++ b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront.rb @@ -49,6 +49,6 @@ # @!group service module Aws::CloudFront - GEM_VERSION = '1.64.0' + GEM_VERSION = '1.65.0' end diff --git a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client.rb b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client.rb index fd6ad069e7f..59c8ab27797 100644 --- a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client.rb +++ b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client.rb @@ -7768,7 +7768,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-cloudfront' - context[:gem_version] = '1.64.0' + context[:gem_version] = '1.65.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client_api.rb b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client_api.rb index f5f9d961ace..f3f8b0bd21a 100644 --- a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client_api.rb +++ b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client_api.rb @@ -464,6 +464,7 @@ module ClientApi TestFunctionRequest = Shapes::StructureShape.new(name: 'TestFunctionRequest') TestFunctionResult = Shapes::StructureShape.new(name: 'TestFunctionResult') TestResult = Shapes::StructureShape.new(name: 'TestResult') + TooLongCSPInResponseHeadersPolicy = Shapes::StructureShape.new(name: 'TooLongCSPInResponseHeadersPolicy') TooManyCacheBehaviors = Shapes::StructureShape.new(name: 'TooManyCacheBehaviors') TooManyCachePolicies = Shapes::StructureShape.new(name: 'TooManyCachePolicies') TooManyCertificates = Shapes::StructureShape.new(name: 'TooManyCertificates') @@ -2359,6 +2360,9 @@ module ClientApi TestResult.add_member(:function_output, Shapes::ShapeRef.new(shape: sensitiveStringType, location_name: "FunctionOutput")) TestResult.struct_class = Types::TestResult + TooLongCSPInResponseHeadersPolicy.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message")) + TooLongCSPInResponseHeadersPolicy.struct_class = Types::TooLongCSPInResponseHeadersPolicy + TooManyCacheBehaviors.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message")) TooManyCacheBehaviors.struct_class = Types::TooManyCacheBehaviors @@ -3027,6 +3031,7 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAlreadyExists) o.errors << Shapes::ShapeRef.new(shape: TooManyResponseHeadersPolicies) o.errors << Shapes::ShapeRef.new(shape: TooManyCustomHeadersInResponseHeadersPolicy) + o.errors << Shapes::ShapeRef.new(shape: TooLongCSPInResponseHeadersPolicy) end) api.add_operation(:create_streaming_distribution, Seahorse::Model::Operation.new.tap do |o| @@ -4038,6 +4043,7 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed) o.errors << Shapes::ShapeRef.new(shape: ResponseHeadersPolicyAlreadyExists) o.errors << Shapes::ShapeRef.new(shape: TooManyCustomHeadersInResponseHeadersPolicy) + o.errors << Shapes::ShapeRef.new(shape: TooLongCSPInResponseHeadersPolicy) end) api.add_operation(:update_streaming_distribution, Seahorse::Model::Operation.new.tap do |o| diff --git a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/errors.rb b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/errors.rb index 223dbd55378..a808d106762 100644 --- a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/errors.rb +++ b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/errors.rb @@ -104,6 +104,7 @@ module Aws::CloudFront # * {StreamingDistributionAlreadyExists} # * {StreamingDistributionNotDisabled} # * {TestFunctionFailed} + # * {TooLongCSPInResponseHeadersPolicy} # * {TooManyCacheBehaviors} # * {TooManyCachePolicies} # * {TooManyCertificates} @@ -1316,6 +1317,21 @@ def message end end + class TooLongCSPInResponseHeadersPolicy < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::CloudFront::Types::TooLongCSPInResponseHeadersPolicy] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + end + class TooManyCacheBehaviors < ServiceError # @param [Seahorse::Client::RequestContext] context diff --git a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb index 067e02b6a3a..b91d20a1650 100644 --- a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb +++ b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb @@ -13350,6 +13350,27 @@ class TestResult < Struct.new( include Aws::Structure end + # The length of the `Content-Security-Policy` header value in the + # response headers policy exceeds the maximum. + # + # For more information, see [Quotas][1] (formerly known as limits) in + # the *Amazon CloudFront Developer Guide*. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html + # + # @!attribute [rw] message + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TooLongCSPInResponseHeadersPolicy AWS API Documentation + # + class TooLongCSPInResponseHeadersPolicy < Struct.new( + :message) + SENSITIVE = [] + include Aws::Structure + end + # You cannot create more cache behaviors for the distribution. # # @!attribute [rw] message diff --git a/gems/aws-sdk-core/CHANGELOG.md b/gems/aws-sdk-core/CHANGELOG.md index 5c9bd630237..c0e666dbb04 100644 --- a/gems/aws-sdk-core/CHANGELOG.md +++ b/gems/aws-sdk-core/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +3.131.0 (2022-05-16) +------------------ + +* Feature - Updated Aws::STS::Client with the latest API changes. + 3.130.2 (2022-04-22) ------------------ diff --git a/gems/aws-sdk-core/VERSION b/gems/aws-sdk-core/VERSION index 495cdce4e24..1c3c1af2b7e 100644 --- a/gems/aws-sdk-core/VERSION +++ b/gems/aws-sdk-core/VERSION @@ -1 +1 @@ -3.130.2 +3.131.0 diff --git a/gems/aws-sdk-core/lib/aws-sdk-sso.rb b/gems/aws-sdk-core/lib/aws-sdk-sso.rb index 784ebe87803..042025f2ee5 100644 --- a/gems/aws-sdk-core/lib/aws-sdk-sso.rb +++ b/gems/aws-sdk-core/lib/aws-sdk-sso.rb @@ -50,6 +50,6 @@ # @!group service module Aws::SSO - GEM_VERSION = '3.130.2' + GEM_VERSION = '3.131.0' end diff --git a/gems/aws-sdk-core/lib/aws-sdk-sso/client.rb b/gems/aws-sdk-core/lib/aws-sdk-sso/client.rb index 86641e1b530..fb7044f4e23 100644 --- a/gems/aws-sdk-core/lib/aws-sdk-sso/client.rb +++ b/gems/aws-sdk-core/lib/aws-sdk-sso/client.rb @@ -545,7 +545,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-core' - context[:gem_version] = '3.130.2' + context[:gem_version] = '3.131.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-core/lib/aws-sdk-sts.rb b/gems/aws-sdk-core/lib/aws-sdk-sts.rb index 06ce9b6b611..1290babd8db 100644 --- a/gems/aws-sdk-core/lib/aws-sdk-sts.rb +++ b/gems/aws-sdk-core/lib/aws-sdk-sts.rb @@ -50,6 +50,6 @@ # @!group service module Aws::STS - GEM_VERSION = '3.130.2' + GEM_VERSION = '3.131.0' end diff --git a/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb b/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb index 67078452efb..d2cf0bc3560 100644 --- a/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb +++ b/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb @@ -2145,6 +2145,14 @@ def get_federation_token(params = {}, options = {}) # Credentials][1] and [Comparing the Amazon Web Services STS API # operations][2] in the *IAM User Guide*. # + # No permissions are required for users to perform this operation. The + # purpose of the `sts:GetSessionToken` operation is to authenticate the + # user using MFA. You cannot use policies to control authentication + # operations. For more information, see [Permissions for + # GetSessionToken][3] in the *IAM User Guide*. + # + # + # # **Session Duration** # # The `GetSessionToken` operation must be called by using the long-term @@ -2170,7 +2178,7 @@ def get_federation_token(params = {}, options = {}) # # We recommend that you do not call `GetSessionToken` with Amazon Web # Services account root user credentials. Instead, follow our [best - # practices][3] by creating one or more IAM users, giving them the + # practices][4] by creating one or more IAM users, giving them the # necessary permissions, and using IAM users for everyday interaction # with Amazon Web Services. # @@ -2186,14 +2194,15 @@ def get_federation_token(params = {}, options = {}) # # For more information about using `GetSessionToken` to create temporary # credentials, go to [Temporary Credentials for Users in Untrusted - # Environments][4] in the *IAM User Guide*. + # Environments][5] in the *IAM User Guide*. # # # # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#stsapi_comparison - # [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#create-iam-users - # [4]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_getsessiontoken + # [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_getsessiontoken.html + # [4]: https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#create-iam-users + # [5]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_getsessiontoken # # @option params [Integer] :duration_seconds # The duration, in seconds, that the credentials should remain valid. @@ -2290,7 +2299,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-core' - context[:gem_version] = '3.130.2' + context[:gem_version] = '3.131.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-rekognition/CHANGELOG.md b/gems/aws-sdk-rekognition/CHANGELOG.md index ae6707d3648..69ba9eaf1e8 100644 --- a/gems/aws-sdk-rekognition/CHANGELOG.md +++ b/gems/aws-sdk-rekognition/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.68.0 (2022-05-16) +------------------ + +* Feature - Documentation updates for Amazon Rekognition. + 1.67.0 (2022-04-27) ------------------ diff --git a/gems/aws-sdk-rekognition/VERSION b/gems/aws-sdk-rekognition/VERSION index 65ee0959841..ee2f4ca9130 100644 --- a/gems/aws-sdk-rekognition/VERSION +++ b/gems/aws-sdk-rekognition/VERSION @@ -1 +1 @@ -1.67.0 +1.68.0 diff --git a/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition.rb b/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition.rb index cd9d750d250..c3391203d5c 100644 --- a/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition.rb +++ b/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition.rb @@ -49,6 +49,6 @@ # @!group service module Aws::Rekognition - GEM_VERSION = '1.67.0' + GEM_VERSION = '1.68.0' end diff --git a/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/client.rb b/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/client.rb index 492ca6c9c6b..306ff6b1ec3 100644 --- a/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/client.rb +++ b/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/client.rb @@ -791,7 +791,7 @@ def create_project(params = {}, options = {}) # project. For more information, see Creating training and test dataset # in the *Amazon Rekognition Custom Labels Developer Guide*. # - # You can train a modelin a project that doesn't have associated + # You can train a model in a project that doesn't have associated # datasets by specifying manifest files in the `TrainingData` and # `TestingData` fields. # @@ -5960,7 +5960,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-rekognition' - context[:gem_version] = '1.67.0' + context[:gem_version] = '1.68.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-resiliencehub/CHANGELOG.md b/gems/aws-sdk-resiliencehub/CHANGELOG.md index 59a5d65b64c..755571010b0 100644 --- a/gems/aws-sdk-resiliencehub/CHANGELOG.md +++ b/gems/aws-sdk-resiliencehub/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.5.0 (2022-05-16) +------------------ + +* Feature - In this release, we are introducing support for Amazon Elastic Container Service, Amazon Route 53, AWS Elastic Disaster Recovery, AWS Backup in addition to the existing supported Services. This release also supports Terraform file input from S3 and scheduling daily assessments + 1.4.0 (2022-02-24) ------------------ diff --git a/gems/aws-sdk-resiliencehub/VERSION b/gems/aws-sdk-resiliencehub/VERSION index 88c5fb891dc..bc80560fad6 100644 --- a/gems/aws-sdk-resiliencehub/VERSION +++ b/gems/aws-sdk-resiliencehub/VERSION @@ -1 +1 @@ -1.4.0 +1.5.0 diff --git a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub.rb b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub.rb index a7681a6848d..cbba3f3a710 100644 --- a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub.rb +++ b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub.rb @@ -48,6 +48,6 @@ # @!group service module Aws::ResilienceHub - GEM_VERSION = '1.4.0' + GEM_VERSION = '1.5.0' end diff --git a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb index 298c507880c..b3afa3c79b3 100644 --- a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb +++ b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb @@ -355,7 +355,8 @@ def initialize(*args) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -385,7 +386,7 @@ def initialize(*args) # { # app_registry_app_name: "EntityName", # logical_stack_name: "String255", - # mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup + # mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform # physical_resource_id: { # required # aws_account_id: "CustomerId", # aws_region: "AwsRegion", @@ -394,6 +395,7 @@ def initialize(*args) # }, # resource_group_name: "EntityName", # resource_name: "EntityName", + # terraform_source_name: "String255", # }, # ], # }) @@ -405,13 +407,14 @@ def initialize(*args) # resp.resource_mappings #=> Array # resp.resource_mappings[0].app_registry_app_name #=> String # resp.resource_mappings[0].logical_stack_name #=> String - # resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup" + # resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform" # resp.resource_mappings[0].physical_resource_id.aws_account_id #=> String # resp.resource_mappings[0].physical_resource_id.aws_region #=> String # resp.resource_mappings[0].physical_resource_id.identifier #=> String # resp.resource_mappings[0].physical_resource_id.type #=> String, one of "Arn", "Native" # resp.resource_mappings[0].resource_group_name #=> String # resp.resource_mappings[0].resource_name #=> String + # resp.resource_mappings[0].terraform_source_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AddDraftAppVersionResourceMappings AWS API Documentation # @@ -431,6 +434,9 @@ def add_draft_app_version_resource_mappings(params = {}, options = {}) # #

After you create a Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).

# + # @option params [String] :assessment_schedule + # Assessment execution schedule with 'Daily' or 'Disabled' values. + # # @option params [String] :client_token # Used for an idempotency token. A client token is a unique, # case-sensitive string of up to 64 ASCII characters. You should not @@ -448,7 +454,7 @@ def add_draft_app_version_resource_mappings(params = {}, options = {}) # @option params [String] :policy_arn # The Amazon Resource Name (ARN) of the resiliency policy. The format # for this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -468,6 +474,7 @@ def add_draft_app_version_resource_mappings(params = {}, options = {}) # @example Request syntax with placeholder values # # resp = client.create_app({ + # assessment_schedule: "Disabled", # accepts Disabled, Daily # client_token: "ClientToken", # description: "EntityDescription", # name: "EntityName", # required @@ -480,6 +487,7 @@ def add_draft_app_version_resource_mappings(params = {}, options = {}) # @example Response structure # # resp.app.app_arn #=> String + # resp.app.assessment_schedule #=> String, one of "Disabled", "Daily" # resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected" # resp.app.creation_time #=> Time # resp.app.description #=> String @@ -506,7 +514,7 @@ def create_app(params = {}, options = {}) # @option params [required, String] :assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for this # ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -699,7 +707,8 @@ def create_resiliency_policy(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -750,7 +759,7 @@ def delete_app(params = {}, options = {}) # @option params [required, String] :assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for this # ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -846,7 +855,7 @@ def delete_recommendation_template(params = {}, options = {}) # @option params [required, String] :policy_arn # The Amazon Resource Name (ARN) of the resiliency policy. The format # for this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -882,7 +891,8 @@ def delete_resiliency_policy(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -903,6 +913,7 @@ def delete_resiliency_policy(params = {}, options = {}) # @example Response structure # # resp.app.app_arn #=> String + # resp.app.assessment_schedule #=> String, one of "Disabled", "Daily" # resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected" # resp.app.creation_time #=> Time # resp.app.description #=> String @@ -929,7 +940,7 @@ def describe_app(params = {}, options = {}) # @option params [required, String] :assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for this # ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -987,6 +998,11 @@ def describe_app(params = {}, options = {}) # resp.assessment.resiliency_score.disruption_score #=> Hash # resp.assessment.resiliency_score.disruption_score["DisruptionType"] #=> Float # resp.assessment.resiliency_score.score #=> Float + # resp.assessment.resource_errors_details.has_more_errors #=> Boolean + # resp.assessment.resource_errors_details.resource_errors #=> Array + # resp.assessment.resource_errors_details.resource_errors[0].logical_resource_id #=> String + # resp.assessment.resource_errors_details.resource_errors[0].physical_resource_id #=> String + # resp.assessment.resource_errors_details.resource_errors[0].reason #=> String # resp.assessment.start_time #=> Time # resp.assessment.tags #=> Hash # resp.assessment.tags["TagKey"] #=> String @@ -1006,7 +1022,8 @@ def describe_app_assessment(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -1057,7 +1074,8 @@ def describe_app_version_resources_resolution_status(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -1100,7 +1118,8 @@ def describe_app_version_template(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -1147,7 +1166,7 @@ def describe_draft_app_version_resources_import_status(params = {}, options = {} # @option params [required, String] :policy_arn # The Amazon Resource Name (ARN) of the resiliency policy. The format # for this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -1195,7 +1214,8 @@ def describe_resiliency_policy(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -1203,22 +1223,31 @@ def describe_resiliency_policy(params = {}, options = {}) # # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html # - # @option params [required, Array] :source_arns + # @option params [Array] :source_arns # The Amazon Resource Names (ARNs) for the resources that you want to # import. # + # @option params [Array] :terraform_sources + # A list of terraform file s3 URLs you need to import. + # # @return [Types::ImportResourcesToDraftAppVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ImportResourcesToDraftAppVersionResponse#app_arn #app_arn} => String # * {Types::ImportResourcesToDraftAppVersionResponse#app_version #app_version} => String # * {Types::ImportResourcesToDraftAppVersionResponse#source_arns #source_arns} => Array<String> # * {Types::ImportResourcesToDraftAppVersionResponse#status #status} => String + # * {Types::ImportResourcesToDraftAppVersionResponse#terraform_sources #terraform_sources} => Array<Types::TerraformSource> # # @example Request syntax with placeholder values # # resp = client.import_resources_to_draft_app_version({ # app_arn: "Arn", # required - # source_arns: ["Arn"], # required + # source_arns: ["Arn"], + # terraform_sources: [ + # { + # s3_state_file_url: "S3Url", # required + # }, + # ], # }) # # @example Response structure @@ -1228,6 +1257,8 @@ def describe_resiliency_policy(params = {}, options = {}) # resp.source_arns #=> Array # resp.source_arns[0] #=> String # resp.status #=> String, one of "Pending", "InProgress", "Failed", "Success" + # resp.terraform_sources #=> Array + # resp.terraform_sources[0].s3_state_file_url #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersion AWS API Documentation # @@ -1243,7 +1274,7 @@ def import_resources_to_draft_app_version(params = {}, options = {}) # @option params [required, String] :assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for this # ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -1307,7 +1338,8 @@ def list_alarm_recommendations(params = {}, options = {}) # # @option params [String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -1395,7 +1427,7 @@ def list_app_assessments(params = {}, options = {}) # @option params [required, String] :assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for this # ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -1467,7 +1499,7 @@ def list_app_component_compliances(params = {}, options = {}) # @option params [required, String] :assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for this # ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -1551,7 +1583,8 @@ def list_app_component_recommendations(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -1594,13 +1627,14 @@ def list_app_component_recommendations(params = {}, options = {}) # resp.resource_mappings #=> Array # resp.resource_mappings[0].app_registry_app_name #=> String # resp.resource_mappings[0].logical_stack_name #=> String - # resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup" + # resp.resource_mappings[0].mapping_type #=> String, one of "CfnStack", "Resource", "AppRegistryApp", "ResourceGroup", "Terraform" # resp.resource_mappings[0].physical_resource_id.aws_account_id #=> String # resp.resource_mappings[0].physical_resource_id.aws_region #=> String # resp.resource_mappings[0].physical_resource_id.identifier #=> String # resp.resource_mappings[0].physical_resource_id.type #=> String, one of "Arn", "Native" # resp.resource_mappings[0].resource_group_name #=> String # resp.resource_mappings[0].resource_name #=> String + # resp.resource_mappings[0].terraform_source_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourceMappings AWS API Documentation # @@ -1615,7 +1649,8 @@ def list_app_version_resource_mappings(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -1667,6 +1702,7 @@ def list_app_version_resource_mappings(params = {}, options = {}) # resp.physical_resources[0].logical_resource_id.identifier #=> String # resp.physical_resources[0].logical_resource_id.logical_stack_name #=> String # resp.physical_resources[0].logical_resource_id.resource_group_name #=> String + # resp.physical_resources[0].logical_resource_id.terraform_source_name #=> String # resp.physical_resources[0].physical_resource_id.aws_account_id #=> String # resp.physical_resources[0].physical_resource_id.aws_region #=> String # resp.physical_resources[0].physical_resource_id.identifier #=> String @@ -1688,7 +1724,8 @@ def list_app_version_resources(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -1740,7 +1777,8 @@ def list_app_versions(params = {}, options = {}) # # @option params [String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -1781,6 +1819,7 @@ def list_app_versions(params = {}, options = {}) # # resp.app_summaries #=> Array # resp.app_summaries[0].app_arn #=> String + # resp.app_summaries[0].assessment_schedule #=> String, one of "Disabled", "Daily" # resp.app_summaries[0].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected" # resp.app_summaries[0].creation_time #=> Time # resp.app_summaries[0].description #=> String @@ -1803,7 +1842,7 @@ def list_apps(params = {}, options = {}) # @option params [required, String] :assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for this # ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -1947,7 +1986,7 @@ def list_resiliency_policies(params = {}, options = {}) # @option params [required, String] :assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for this # ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -2094,7 +2133,7 @@ def list_tags_for_resource(params = {}, options = {}) # @option params [required, String] :assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for this # ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -2132,6 +2171,8 @@ def list_tags_for_resource(params = {}, options = {}) # resp.next_token #=> String # resp.test_recommendations #=> Array # resp.test_recommendations[0].app_component_name #=> String + # resp.test_recommendations[0].depends_on_alarms #=> Array + # resp.test_recommendations[0].depends_on_alarms[0] #=> String # resp.test_recommendations[0].description #=> String # resp.test_recommendations[0].intent #=> String # resp.test_recommendations[0].items #=> Array @@ -2162,7 +2203,8 @@ def list_test_recommendations(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -2212,6 +2254,7 @@ def list_test_recommendations(params = {}, options = {}) # resp.unsupported_resources[0].logical_resource_id.identifier #=> String # resp.unsupported_resources[0].logical_resource_id.logical_stack_name #=> String # resp.unsupported_resources[0].logical_resource_id.resource_group_name #=> String + # resp.unsupported_resources[0].logical_resource_id.terraform_source_name #=> String # resp.unsupported_resources[0].physical_resource_id.aws_account_id #=> String # resp.unsupported_resources[0].physical_resource_id.aws_region #=> String # resp.unsupported_resources[0].physical_resource_id.identifier #=> String @@ -2231,7 +2274,8 @@ def list_unsupported_app_version_resources(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -2269,7 +2313,8 @@ def publish_app_version(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -2310,7 +2355,8 @@ def put_draft_app_version_template(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -2332,6 +2378,9 @@ def put_draft_app_version_template(params = {}, options = {}) # @option params [Array] :resource_names # The names of the resources to remove from the resource mappings. # + # @option params [Array] :terraform_source_names + #

+ # # @return [Types::RemoveDraftAppVersionResourceMappingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::RemoveDraftAppVersionResourceMappingsResponse#app_arn #app_arn} => String @@ -2345,6 +2394,7 @@ def put_draft_app_version_template(params = {}, options = {}) # logical_stack_names: ["String255"], # resource_group_names: ["EntityName"], # resource_names: ["EntityName"], + # terraform_source_names: ["String255"], # }) # # @example Response structure @@ -2365,7 +2415,8 @@ def remove_draft_app_version_resource_mappings(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -2410,7 +2461,8 @@ def resolve_app_version_resources(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -2493,6 +2545,11 @@ def resolve_app_version_resources(params = {}, options = {}) # resp.assessment.resiliency_score.disruption_score #=> Hash # resp.assessment.resiliency_score.disruption_score["DisruptionType"] #=> Float # resp.assessment.resiliency_score.score #=> Float + # resp.assessment.resource_errors_details.has_more_errors #=> Boolean + # resp.assessment.resource_errors_details.resource_errors #=> Array + # resp.assessment.resource_errors_details.resource_errors[0].logical_resource_id #=> String + # resp.assessment.resource_errors_details.resource_errors[0].physical_resource_id #=> String + # resp.assessment.resource_errors_details.resource_errors[0].reason #=> String # resp.assessment.start_time #=> Time # resp.assessment.tags #=> Hash # resp.assessment.tags["TagKey"] #=> String @@ -2565,7 +2622,8 @@ def untag_resource(params = {}, options = {}) # # @option params [required, String] :app_arn # The Amazon Resource Name (ARN) of the application. The format for this - # ARN is: arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For + # ARN is: + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. For # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in # the *AWS General Reference*. # @@ -2573,6 +2631,9 @@ def untag_resource(params = {}, options = {}) # # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html # + # @option params [String] :assessment_schedule + # Assessment execution schedule with 'Daily' or 'Disabled' values. + # # @option params [Boolean] :clear_resiliency_policy_arn # Specifies if the resiliency policy ARN should be cleared. # @@ -2582,7 +2643,7 @@ def untag_resource(params = {}, options = {}) # @option params [String] :policy_arn # The Amazon Resource Name (ARN) of the resiliency policy. The format # for this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -2598,6 +2659,7 @@ def untag_resource(params = {}, options = {}) # # resp = client.update_app({ # app_arn: "Arn", # required + # assessment_schedule: "Disabled", # accepts Disabled, Daily # clear_resiliency_policy_arn: false, # description: "EntityDescription", # policy_arn: "Arn", @@ -2606,6 +2668,7 @@ def untag_resource(params = {}, options = {}) # @example Response structure # # resp.app.app_arn #=> String + # resp.app.assessment_schedule #=> String, one of "Disabled", "Daily" # resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected" # resp.app.creation_time #=> Time # resp.app.description #=> String @@ -2640,7 +2703,7 @@ def update_app(params = {}, options = {}) # @option params [required, String] :policy_arn # The Amazon Resource Name (ARN) of the resiliency policy. The format # for this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -2715,7 +2778,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-resiliencehub' - context[:gem_version] = '1.4.0' + context[:gem_version] = '1.5.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client_api.rb b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client_api.rb index e41d14d972f..4d07cfdecce 100644 --- a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client_api.rb +++ b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client_api.rb @@ -18,9 +18,11 @@ module ClientApi AddDraftAppVersionResourceMappingsResponse = Shapes::StructureShape.new(name: 'AddDraftAppVersionResourceMappingsResponse') AlarmRecommendation = Shapes::StructureShape.new(name: 'AlarmRecommendation') AlarmRecommendationList = Shapes::ListShape.new(name: 'AlarmRecommendationList') + AlarmReferenceIdList = Shapes::ListShape.new(name: 'AlarmReferenceIdList') AlarmType = Shapes::StringShape.new(name: 'AlarmType') App = Shapes::StructureShape.new(name: 'App') AppAssessment = Shapes::StructureShape.new(name: 'AppAssessment') + AppAssessmentScheduleType = Shapes::StringShape.new(name: 'AppAssessmentScheduleType') AppAssessmentSummary = Shapes::StructureShape.new(name: 'AppAssessmentSummary') AppAssessmentSummaryList = Shapes::ListShape.new(name: 'AppAssessmentSummaryList') AppComplianceStatusType = Shapes::StringShape.new(name: 'AppComplianceStatusType') @@ -92,6 +94,7 @@ module ClientApi EntityName = Shapes::StringShape.new(name: 'EntityName') EntityNameList = Shapes::ListShape.new(name: 'EntityNameList') EntityVersion = Shapes::StringShape.new(name: 'EntityVersion') + ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage') EstimatedCostTier = Shapes::StringShape.new(name: 'EstimatedCostTier') FailurePolicy = Shapes::StructureShape.new(name: 'FailurePolicy') HaArchitecture = Shapes::StringShape.new(name: 'HaArchitecture') @@ -159,6 +162,9 @@ module ClientApi ResiliencyScore = Shapes::StructureShape.new(name: 'ResiliencyScore') ResolveAppVersionResourcesRequest = Shapes::StructureShape.new(name: 'ResolveAppVersionResourcesRequest') ResolveAppVersionResourcesResponse = Shapes::StructureShape.new(name: 'ResolveAppVersionResourcesResponse') + ResourceError = Shapes::StructureShape.new(name: 'ResourceError') + ResourceErrorList = Shapes::ListShape.new(name: 'ResourceErrorList') + ResourceErrorsDetails = Shapes::StructureShape.new(name: 'ResourceErrorsDetails') ResourceId = Shapes::StringShape.new(name: 'ResourceId') ResourceImportStatusType = Shapes::StringShape.new(name: 'ResourceImportStatusType') ResourceMapping = Shapes::StructureShape.new(name: 'ResourceMapping') @@ -169,6 +175,7 @@ module ClientApi ResourceType = Shapes::StringShape.new(name: 'ResourceType') RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds') S3Location = Shapes::StructureShape.new(name: 'S3Location') + S3Url = Shapes::StringShape.new(name: 'S3Url') Seconds = Shapes::IntegerShape.new(name: 'Seconds') ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException') SopRecommendation = Shapes::StructureShape.new(name: 'SopRecommendation') @@ -188,6 +195,8 @@ module ClientApi TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse') TagValue = Shapes::StringShape.new(name: 'TagValue') TemplateFormat = Shapes::StringShape.new(name: 'TemplateFormat') + TerraformSource = Shapes::StructureShape.new(name: 'TerraformSource') + TerraformSourceList = Shapes::ListShape.new(name: 'TerraformSourceList') TestRecommendation = Shapes::StructureShape.new(name: 'TestRecommendation') TestRecommendationList = Shapes::ListShape.new(name: 'TestRecommendationList') TestRisk = Shapes::StringShape.new(name: 'TestRisk') @@ -229,7 +238,10 @@ module ClientApi AlarmRecommendationList.member = Shapes::ShapeRef.new(shape: AlarmRecommendation) + AlarmReferenceIdList.member = Shapes::ShapeRef.new(shape: String500) + App.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn")) + App.add_member(:assessment_schedule, Shapes::ShapeRef.new(shape: AppAssessmentScheduleType, location_name: "assessmentSchedule")) App.add_member(:compliance_status, Shapes::ShapeRef.new(shape: AppComplianceStatusType, location_name: "complianceStatus")) App.add_member(:creation_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "creationTime")) App.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description")) @@ -255,6 +267,7 @@ module ClientApi AppAssessment.add_member(:message, Shapes::ShapeRef.new(shape: String500, location_name: "message")) AppAssessment.add_member(:policy, Shapes::ShapeRef.new(shape: ResiliencyPolicy, location_name: "policy")) AppAssessment.add_member(:resiliency_score, Shapes::ShapeRef.new(shape: ResiliencyScore, location_name: "resiliencyScore")) + AppAssessment.add_member(:resource_errors_details, Shapes::ShapeRef.new(shape: ResourceErrorsDetails, location_name: "resourceErrorsDetails")) AppAssessment.add_member(:start_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "startTime")) AppAssessment.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags")) AppAssessment.struct_class = Types::AppAssessment @@ -290,6 +303,7 @@ module ClientApi AppComponentList.member = Shapes::ShapeRef.new(shape: AppComponent) AppSummary.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn")) + AppSummary.add_member(:assessment_schedule, Shapes::ShapeRef.new(shape: AppAssessmentScheduleType, location_name: "assessmentSchedule")) AppSummary.add_member(:compliance_status, Shapes::ShapeRef.new(shape: AppComplianceStatusType, location_name: "complianceStatus")) AppSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "creationTime")) AppSummary.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description")) @@ -344,6 +358,7 @@ module ClientApi Cost.add_member(:frequency, Shapes::ShapeRef.new(shape: CostFrequency, required: true, location_name: "frequency")) Cost.struct_class = Types::Cost + CreateAppRequest.add_member(:assessment_schedule, Shapes::ShapeRef.new(shape: AppAssessmentScheduleType, location_name: "assessmentSchedule")) CreateAppRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true})) CreateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description")) CreateAppRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name")) @@ -484,13 +499,15 @@ module ClientApi FailurePolicy.struct_class = Types::FailurePolicy ImportResourcesToDraftAppVersionRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn")) - ImportResourcesToDraftAppVersionRequest.add_member(:source_arns, Shapes::ShapeRef.new(shape: ArnList, required: true, location_name: "sourceArns")) + ImportResourcesToDraftAppVersionRequest.add_member(:source_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "sourceArns")) + ImportResourcesToDraftAppVersionRequest.add_member(:terraform_sources, Shapes::ShapeRef.new(shape: TerraformSourceList, location_name: "terraformSources")) ImportResourcesToDraftAppVersionRequest.struct_class = Types::ImportResourcesToDraftAppVersionRequest ImportResourcesToDraftAppVersionResponse.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn")) ImportResourcesToDraftAppVersionResponse.add_member(:app_version, Shapes::ShapeRef.new(shape: EntityVersion, required: true, location_name: "appVersion")) - ImportResourcesToDraftAppVersionResponse.add_member(:source_arns, Shapes::ShapeRef.new(shape: ArnList, required: true, location_name: "sourceArns")) + ImportResourcesToDraftAppVersionResponse.add_member(:source_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "sourceArns")) ImportResourcesToDraftAppVersionResponse.add_member(:status, Shapes::ShapeRef.new(shape: ResourceImportStatusType, required: true, location_name: "status")) + ImportResourcesToDraftAppVersionResponse.add_member(:terraform_sources, Shapes::ShapeRef.new(shape: TerraformSourceList, location_name: "terraformSources")) ImportResourcesToDraftAppVersionResponse.struct_class = Types::ImportResourcesToDraftAppVersionResponse InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String500, location_name: "message")) @@ -647,6 +664,7 @@ module ClientApi LogicalResourceId.add_member(:identifier, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "identifier")) LogicalResourceId.add_member(:logical_stack_name, Shapes::ShapeRef.new(shape: String255, location_name: "logicalStackName")) LogicalResourceId.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "resourceGroupName")) + LogicalResourceId.add_member(:terraform_source_name, Shapes::ShapeRef.new(shape: String255, location_name: "terraformSourceName")) LogicalResourceId.struct_class = Types::LogicalResourceId PhysicalResource.add_member(:app_components, Shapes::ShapeRef.new(shape: AppComponentList, location_name: "appComponents")) @@ -724,6 +742,7 @@ module ClientApi RemoveDraftAppVersionResourceMappingsRequest.add_member(:logical_stack_names, Shapes::ShapeRef.new(shape: String255List, location_name: "logicalStackNames")) RemoveDraftAppVersionResourceMappingsRequest.add_member(:resource_group_names, Shapes::ShapeRef.new(shape: EntityNameList, location_name: "resourceGroupNames")) RemoveDraftAppVersionResourceMappingsRequest.add_member(:resource_names, Shapes::ShapeRef.new(shape: EntityNameList, location_name: "resourceNames")) + RemoveDraftAppVersionResourceMappingsRequest.add_member(:terraform_source_names, Shapes::ShapeRef.new(shape: String255List, location_name: "terraformSourceNames")) RemoveDraftAppVersionResourceMappingsRequest.struct_class = Types::RemoveDraftAppVersionResourceMappingsRequest RemoveDraftAppVersionResourceMappingsResponse.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "appArn")) @@ -759,12 +778,24 @@ module ClientApi ResolveAppVersionResourcesResponse.add_member(:status, Shapes::ShapeRef.new(shape: ResourceResolutionStatusType, required: true, location_name: "status")) ResolveAppVersionResourcesResponse.struct_class = Types::ResolveAppVersionResourcesResponse + ResourceError.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: String255, location_name: "logicalResourceId")) + ResourceError.add_member(:physical_resource_id, Shapes::ShapeRef.new(shape: String255, location_name: "physicalResourceId")) + ResourceError.add_member(:reason, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "reason")) + ResourceError.struct_class = Types::ResourceError + + ResourceErrorList.member = Shapes::ShapeRef.new(shape: ResourceError) + + ResourceErrorsDetails.add_member(:has_more_errors, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "hasMoreErrors")) + ResourceErrorsDetails.add_member(:resource_errors, Shapes::ShapeRef.new(shape: ResourceErrorList, location_name: "resourceErrors")) + ResourceErrorsDetails.struct_class = Types::ResourceErrorsDetails + ResourceMapping.add_member(:app_registry_app_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "appRegistryAppName")) ResourceMapping.add_member(:logical_stack_name, Shapes::ShapeRef.new(shape: String255, location_name: "logicalStackName")) ResourceMapping.add_member(:mapping_type, Shapes::ShapeRef.new(shape: ResourceMappingType, required: true, location_name: "mappingType")) ResourceMapping.add_member(:physical_resource_id, Shapes::ShapeRef.new(shape: PhysicalResourceId, required: true, location_name: "physicalResourceId")) ResourceMapping.add_member(:resource_group_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "resourceGroupName")) ResourceMapping.add_member(:resource_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "resourceName")) + ResourceMapping.add_member(:terraform_source_name, Shapes::ShapeRef.new(shape: String255, location_name: "terraformSourceName")) ResourceMapping.struct_class = Types::ResourceMapping ResourceMappingList.member = Shapes::ShapeRef.new(shape: ResourceMapping) @@ -818,7 +849,13 @@ module ClientApi TagResourceResponse.struct_class = Types::TagResourceResponse + TerraformSource.add_member(:s3_state_file_url, Shapes::ShapeRef.new(shape: S3Url, required: true, location_name: "s3StateFileUrl")) + TerraformSource.struct_class = Types::TerraformSource + + TerraformSourceList.member = Shapes::ShapeRef.new(shape: TerraformSource) + TestRecommendation.add_member(:app_component_name, Shapes::ShapeRef.new(shape: EntityId, location_name: "appComponentName")) + TestRecommendation.add_member(:depends_on_alarms, Shapes::ShapeRef.new(shape: AlarmReferenceIdList, location_name: "dependsOnAlarms")) TestRecommendation.add_member(:description, Shapes::ShapeRef.new(shape: String500, location_name: "description")) TestRecommendation.add_member(:intent, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "intent")) TestRecommendation.add_member(:items, Shapes::ShapeRef.new(shape: RecommendationItemList, location_name: "items")) @@ -850,6 +887,7 @@ module ClientApi UntagResourceResponse.struct_class = Types::UntagResourceResponse UpdateAppRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn")) + UpdateAppRequest.add_member(:assessment_schedule, Shapes::ShapeRef.new(shape: AppAssessmentScheduleType, location_name: "assessmentSchedule")) UpdateAppRequest.add_member(:clear_resiliency_policy_arn, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "clearResiliencyPolicyArn")) UpdateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description")) UpdateAppRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "policyArn")) diff --git a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb index 7e46577b5c8..529cec571c7 100644 --- a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb +++ b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/types.rb @@ -34,7 +34,7 @@ class AccessDeniedException < Struct.new( # { # app_registry_app_name: "EntityName", # logical_stack_name: "String255", - # mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup + # mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform # physical_resource_id: { # required # aws_account_id: "CustomerId", # aws_region: "AwsRegion", @@ -43,6 +43,7 @@ class AccessDeniedException < Struct.new( # }, # resource_group_name: "EntityName", # resource_name: "EntityName", + # terraform_source_name: "String255", # }, # ], # } @@ -50,9 +51,9 @@ class AccessDeniedException < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -80,9 +81,9 @@ class AddDraftAppVersionResourceMappingsRequest < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -166,15 +167,19 @@ class AlarmRecommendation < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html # @return [String] # + # @!attribute [rw] assessment_schedule + # Assessment execution schedule with 'Daily' or 'Disabled' values. + # @return [String] + # # @!attribute [rw] compliance_status # The current status of compliance for the resiliency policy. # @return [String] @@ -202,7 +207,7 @@ class AlarmRecommendation < Struct.new( # @!attribute [rw] policy_arn # The Amazon Resource Name (ARN) of the resiliency policy. The format # for this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -229,6 +234,7 @@ class AlarmRecommendation < Struct.new( # class App < Struct.new( :app_arn, + :assessment_schedule, :compliance_status, :creation_time, :description, @@ -248,9 +254,9 @@ class App < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -264,7 +270,7 @@ class App < Struct.new( # @!attribute [rw] assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -313,6 +319,11 @@ class App < Struct.new( # The current resiliency score for the application. # @return [Types::ResiliencyScore] # + # @!attribute [rw] resource_errors_details + # A resource error object containing a list of errors retrieving an + # application's resources. + # @return [Types::ResourceErrorsDetails] + # # @!attribute [rw] start_time # The starting time for the action. # @return [Time] @@ -339,6 +350,7 @@ class AppAssessment < Struct.new( :message, :policy, :resiliency_score, + :resource_errors_details, :start_time, :tags) SENSITIVE = [:tags] @@ -350,9 +362,9 @@ class AppAssessment < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -366,7 +378,7 @@ class AppAssessment < Struct.new( # @!attribute [rw] assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -495,15 +507,19 @@ class AppComponentCompliance < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html # @return [String] # + # @!attribute [rw] assessment_schedule + # Assessment execution schedule with 'Daily' or 'Disabled' values. + # @return [String] + # # @!attribute [rw] compliance_status # The current status of compliance for the resiliency policy. # @return [String] @@ -528,6 +544,7 @@ class AppComponentCompliance < Struct.new( # class AppSummary < Struct.new( :app_arn, + :assessment_schedule, :compliance_status, :creation_time, :description, @@ -693,6 +710,7 @@ class Cost < Struct.new( # data as a hash: # # { + # assessment_schedule: "Disabled", # accepts Disabled, Daily # client_token: "ClientToken", # description: "EntityDescription", # name: "EntityName", # required @@ -702,6 +720,10 @@ class Cost < Struct.new( # }, # } # + # @!attribute [rw] assessment_schedule + # Assessment execution schedule with 'Daily' or 'Disabled' values. + # @return [String] + # # @!attribute [rw] client_token # Used for an idempotency token. A client token is a unique, # case-sensitive string of up to 64 ASCII characters. You should not @@ -722,7 +744,7 @@ class Cost < Struct.new( # @!attribute [rw] policy_arn # The Amazon Resource Name (ARN) of the resiliency policy. The format # for this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -740,6 +762,7 @@ class Cost < Struct.new( # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppRequest AWS API Documentation # class CreateAppRequest < Struct.new( + :assessment_schedule, :client_token, :description, :name, @@ -782,7 +805,7 @@ class CreateAppResponse < Struct.new( # @!attribute [rw] assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -975,7 +998,7 @@ class CreateResiliencyPolicyResponse < Struct.new( # @!attribute [rw] assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -1005,7 +1028,7 @@ class DeleteAppAssessmentRequest < Struct.new( # @!attribute [rw] assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -1039,9 +1062,9 @@ class DeleteAppAssessmentResponse < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -1075,9 +1098,9 @@ class DeleteAppRequest < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -1159,7 +1182,7 @@ class DeleteRecommendationTemplateResponse < Struct.new( # @!attribute [rw] policy_arn # The Amazon Resource Name (ARN) of the resiliency policy. The format # for this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -1180,7 +1203,7 @@ class DeleteResiliencyPolicyRequest < Struct.new( # @!attribute [rw] policy_arn # The Amazon Resource Name (ARN) of the resiliency policy. The format # for this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -1207,7 +1230,7 @@ class DeleteResiliencyPolicyResponse < Struct.new( # @!attribute [rw] assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -1249,9 +1272,9 @@ class DescribeAppAssessmentResponse < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -1292,9 +1315,9 @@ class DescribeAppResponse < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -1322,9 +1345,9 @@ class DescribeAppVersionResourcesResolutionStatusRequest < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -1370,9 +1393,9 @@ class DescribeAppVersionResourcesResolutionStatusResponse < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -1395,9 +1418,9 @@ class DescribeAppVersionTemplateRequest < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -1432,9 +1455,9 @@ class DescribeAppVersionTemplateResponse < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -1452,9 +1475,9 @@ class DescribeDraftAppVersionResourcesImportStatusRequest < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -1499,7 +1522,7 @@ class DescribeDraftAppVersionResourcesImportStatusResponse < Struct.new( # @!attribute [rw] policy_arn # The Amazon Resource Name (ARN) of the resiliency policy. The format # for this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -1623,15 +1646,20 @@ class FailurePolicy < Struct.new( # # { # app_arn: "Arn", # required - # source_arns: ["Arn"], # required + # source_arns: ["Arn"], + # terraform_sources: [ + # { + # s3_state_file_url: "S3Url", # required + # }, + # ], # } # # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -1643,11 +1671,16 @@ class FailurePolicy < Struct.new( # import. # @return [Array] # + # @!attribute [rw] terraform_sources + # A list of terraform file s3 URLs you need to import. + # @return [Array] + # # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersionRequest AWS API Documentation # class ImportResourcesToDraftAppVersionRequest < Struct.new( :app_arn, - :source_arns) + :source_arns, + :terraform_sources) SENSITIVE = [] include Aws::Structure end @@ -1655,9 +1688,9 @@ class ImportResourcesToDraftAppVersionRequest < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -1677,13 +1710,18 @@ class ImportResourcesToDraftAppVersionRequest < Struct.new( # The status of the action. # @return [String] # + # @!attribute [rw] terraform_sources + # A list of terraform file s3 URLs you need to import. + # @return [Array] + # # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersionResponse AWS API Documentation # class ImportResourcesToDraftAppVersionResponse < Struct.new( :app_arn, :app_version, :source_arns, - :status) + :status, + :terraform_sources) SENSITIVE = [] include Aws::Structure end @@ -1714,7 +1752,7 @@ class InternalServerException < Struct.new( # @!attribute [rw] assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -1783,9 +1821,9 @@ class ListAlarmRecommendationsResponse < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -1874,7 +1912,7 @@ class ListAppAssessmentsResponse < Struct.new( # @!attribute [rw] assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -1937,7 +1975,7 @@ class ListAppComponentCompliancesResponse < Struct.new( # @!attribute [rw] assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -2001,9 +2039,9 @@ class ListAppComponentRecommendationsResponse < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -2074,9 +2112,9 @@ class ListAppVersionResourceMappingsResponse < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -2150,9 +2188,9 @@ class ListAppVersionResourcesResponse < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -2212,9 +2250,9 @@ class ListAppVersionsResponse < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -2282,7 +2320,7 @@ class ListAppsResponse < Struct.new( # @!attribute [rw] assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -2417,7 +2455,7 @@ class ListResiliencyPoliciesResponse < Struct.new( # @!attribute [rw] assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -2561,7 +2599,7 @@ class ListTagsForResourceResponse < Struct.new( # @!attribute [rw] assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -2624,9 +2662,9 @@ class ListTestRecommendationsResponse < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -2702,12 +2740,17 @@ class ListUnsupportedAppVersionResourcesResponse < Struct.new( # The name of the resource group that this resource belongs to. # @return [String] # + # @!attribute [rw] terraform_source_name + # The name of the Terraform S3 state file this resource belongs to. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/LogicalResourceId AWS API Documentation # class LogicalResourceId < Struct.new( :identifier, :logical_stack_name, - :resource_group_name) + :resource_group_name, + :terraform_source_name) SENSITIVE = [] include Aws::Structure end @@ -2806,9 +2849,9 @@ class PhysicalResourceId < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -2826,9 +2869,9 @@ class PublishAppVersionRequest < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -2859,9 +2902,9 @@ class PublishAppVersionResponse < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -2884,9 +2927,9 @@ class PutDraftAppVersionTemplateRequest < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -2980,9 +3023,9 @@ class RecommendationItem < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -2992,7 +3035,7 @@ class RecommendationItem < Struct.new( # @!attribute [rw] assessment_arn # The Amazon Resource Name (ARN) of the assessment. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -3103,14 +3146,15 @@ class RecommendationTemplate < Struct.new( # logical_stack_names: ["String255"], # resource_group_names: ["EntityName"], # resource_names: ["EntityName"], + # terraform_source_names: ["String255"], # } # # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -3136,6 +3180,10 @@ class RecommendationTemplate < Struct.new( # The names of the resources to remove from the resource mappings. # @return [Array] # + # @!attribute [rw] terraform_source_names + #

+ # @return [Array] + # # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RemoveDraftAppVersionResourceMappingsRequest AWS API Documentation # class RemoveDraftAppVersionResourceMappingsRequest < Struct.new( @@ -3143,7 +3191,8 @@ class RemoveDraftAppVersionResourceMappingsRequest < Struct.new( :app_registry_app_names, :logical_stack_names, :resource_group_names, - :resource_names) + :resource_names, + :terraform_source_names) SENSITIVE = [] include Aws::Structure end @@ -3151,9 +3200,9 @@ class RemoveDraftAppVersionResourceMappingsRequest < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -3195,7 +3244,7 @@ class RemoveDraftAppVersionResourceMappingsResponse < Struct.new( # @!attribute [rw] policy_arn # The Amazon Resource Name (ARN) of the resiliency policy. The format # for this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -3270,9 +3319,9 @@ class ResiliencyScore < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -3295,9 +3344,9 @@ class ResolveAppVersionResourcesRequest < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -3327,6 +3376,50 @@ class ResolveAppVersionResourcesResponse < Struct.new( include Aws::Structure end + # Defines application resource errors. + # + # @!attribute [rw] logical_resource_id + # This is the identifier of the resource. + # @return [String] + # + # @!attribute [rw] physical_resource_id + # This is the identifier of the physical resource. + # @return [String] + # + # @!attribute [rw] reason + # This is the error message. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResourceError AWS API Documentation + # + class ResourceError < Struct.new( + :logical_resource_id, + :physical_resource_id, + :reason) + SENSITIVE = [] + include Aws::Structure + end + + # A list of errors retrieving an application's resources. + # + # @!attribute [rw] has_more_errors + # This indicates if there are more errors not listed in the + # resourceErrors list. + # @return [Boolean] + # + # @!attribute [rw] resource_errors + # A list of errors retrieving an application's resources. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResourceErrorsDetails AWS API Documentation + # + class ResourceErrorsDetails < Struct.new( + :has_more_errors, + :resource_errors) + SENSITIVE = [] + include Aws::Structure + end + # Defines a resource mapping. # # @note When making an API call, you may pass ResourceMapping @@ -3335,7 +3428,7 @@ class ResolveAppVersionResourcesResponse < Struct.new( # { # app_registry_app_name: "EntityName", # logical_stack_name: "String255", - # mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup + # mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform # physical_resource_id: { # required # aws_account_id: "CustomerId", # aws_region: "AwsRegion", @@ -3344,6 +3437,7 @@ class ResolveAppVersionResourcesResponse < Struct.new( # }, # resource_group_name: "EntityName", # resource_name: "EntityName", + # terraform_source_name: "String255", # } # # @!attribute [rw] app_registry_app_name @@ -3391,6 +3485,10 @@ class ResolveAppVersionResourcesResponse < Struct.new( # The name of the resource this resource is mapped to. # @return [String] # + # @!attribute [rw] terraform_source_name + # The short name of the Terraform source. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResourceMapping AWS API Documentation # class ResourceMapping < Struct.new( @@ -3399,7 +3497,8 @@ class ResourceMapping < Struct.new( :mapping_type, :physical_resource_id, :resource_group_name, - :resource_name) + :resource_name, + :terraform_source_name) SENSITIVE = [] include Aws::Structure end @@ -3526,9 +3625,9 @@ class SopRecommendation < Struct.new( # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # @@ -3614,12 +3713,38 @@ class TagResourceRequest < Struct.new( # class TagResourceResponse < Aws::EmptyStructure; end + # The Terraform s3 state file you need to import. + # + # @note When making an API call, you may pass TerraformSource + # data as a hash: + # + # { + # s3_state_file_url: "S3Url", # required + # } + # + # @!attribute [rw] s3_state_file_url + # The Terraform s3 state file you need to import. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/TerraformSource AWS API Documentation + # + class TerraformSource < Struct.new( + :s3_state_file_url) + SENSITIVE = [] + include Aws::Structure + end + # Defines a test recommendation. # # @!attribute [rw] app_component_name # The name of the application component. # @return [String] # + # @!attribute [rw] depends_on_alarms + # A list of recommended alarms that are used in the test and must be + # exported before or with the test. + # @return [Array] + # # @!attribute [rw] description # The description for the test recommendation. # @return [String] @@ -3660,6 +3785,7 @@ class TagResourceResponse < Aws::EmptyStructure; end # class TestRecommendation < Struct.new( :app_component_name, + :depends_on_alarms, :description, :intent, :items, @@ -3749,6 +3875,7 @@ class UntagResourceResponse < Aws::EmptyStructure; end # # { # app_arn: "Arn", # required + # assessment_schedule: "Disabled", # accepts Disabled, Daily # clear_resiliency_policy_arn: false, # description: "EntityDescription", # policy_arn: "Arn", @@ -3757,15 +3884,19 @@ class UntagResourceResponse < Aws::EmptyStructure; end # @!attribute [rw] app_arn # The Amazon Resource Name (ARN) of the application. The format for # this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more - # information about ARNs, see [ Amazon Resource Names (ARNs)][1] in - # the *AWS General Reference*. + # arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`. + # For more information about ARNs, see [ Amazon Resource Names + # (ARNs)][1] in the *AWS General Reference*. # # # # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html # @return [String] # + # @!attribute [rw] assessment_schedule + # Assessment execution schedule with 'Daily' or 'Disabled' values. + # @return [String] + # # @!attribute [rw] clear_resiliency_policy_arn # Specifies if the resiliency policy ARN should be cleared. # @return [Boolean] @@ -3777,7 +3908,7 @@ class UntagResourceResponse < Aws::EmptyStructure; end # @!attribute [rw] policy_arn # The Amazon Resource Name (ARN) of the resiliency policy. The format # for this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # @@ -3790,6 +3921,7 @@ class UntagResourceResponse < Aws::EmptyStructure; end # class UpdateAppRequest < Struct.new( :app_arn, + :assessment_schedule, :clear_resiliency_policy_arn, :description, :policy_arn) @@ -3841,7 +3973,7 @@ class UpdateAppResponse < Struct.new( # @!attribute [rw] policy_arn # The Amazon Resource Name (ARN) of the resiliency policy. The format # for this ARN is: - # arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`. + # arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`. # For more information about ARNs, see [ Amazon Resource Names # (ARNs)][1] in the *AWS General Reference*. # diff --git a/gems/aws-sdk-servicecatalog/CHANGELOG.md b/gems/aws-sdk-servicecatalog/CHANGELOG.md index f4568ac766e..a3cbfe3e569 100644 --- a/gems/aws-sdk-servicecatalog/CHANGELOG.md +++ b/gems/aws-sdk-servicecatalog/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.71.0 (2022-05-16) +------------------ + +* Feature - Updated the descriptions for the ListAcceptedPortfolioShares API description and the PortfolioShareType parameters. + 1.70.0 (2022-04-04) ------------------ diff --git a/gems/aws-sdk-servicecatalog/VERSION b/gems/aws-sdk-servicecatalog/VERSION index 832e9afb6c1..df484cbb1d9 100644 --- a/gems/aws-sdk-servicecatalog/VERSION +++ b/gems/aws-sdk-servicecatalog/VERSION @@ -1 +1 @@ -1.70.0 +1.71.0 diff --git a/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog.rb b/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog.rb index 1726444a81c..c262f990d69 100644 --- a/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog.rb +++ b/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog.rb @@ -48,6 +48,6 @@ # @!group service module Aws::ServiceCatalog - GEM_VERSION = '1.70.0' + GEM_VERSION = '1.71.0' end diff --git a/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/client.rb b/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/client.rb index 34a7e5f7954..e5df7bdc309 100644 --- a/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/client.rb +++ b/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/client.rb @@ -3387,7 +3387,10 @@ def import_as_provisioned_product(params = {}, options = {}) req.send_request(options) end - # Lists all portfolios for which sharing was accepted by this account. + # Lists all imported portfolios for which account-to-account shares were + # accepted by this account. By specifying the `PortfolioShareType`, you + # can list portfolios for which organizational shares were accepted by + # this account. # # @option params [String] :accept_language # The language code. @@ -3409,12 +3412,14 @@ def import_as_provisioned_product(params = {}, options = {}) # The type of shared portfolios to list. The default is to list imported # portfolios. # - # * `AWS_ORGANIZATIONS` - List portfolios shared by the management - # account of your organization + # * `AWS_ORGANIZATIONS` - List portfolios accepted and shared via + # organizational sharing by the management account or delegated + # administrator of your organization. # - # * `AWS_SERVICECATALOG` - List default portfolios + # * `AWS_SERVICECATALOG` - Deprecated type. # - # * `IMPORTED` - List imported portfolios + # * `IMPORTED` - List imported portfolios that have been accepted and + # shared through account-to-account sharing. # # @return [Types::ListAcceptedPortfolioSharesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -5856,7 +5861,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-servicecatalog' - context[:gem_version] = '1.70.0' + context[:gem_version] = '1.71.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb b/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb index 3a35071fae6..a443bf3cf02 100644 --- a/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb +++ b/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb @@ -3368,7 +3368,7 @@ class LaunchPath < Struct.new( # @return [Array] # # @!attribute [rw] name - # The name of the portfolio to which the user was assigned. + # The name of the portfolio that contains the product. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/LaunchPathSummary AWS API Documentation @@ -3423,12 +3423,14 @@ class LimitExceededException < Aws::EmptyStructure; end # The type of shared portfolios to list. The default is to list # imported portfolios. # - # * `AWS_ORGANIZATIONS` - List portfolios shared by the management - # account of your organization + # * `AWS_ORGANIZATIONS` - List portfolios accepted and shared via + # organizational sharing by the management account or delegated + # administrator of your organization. # - # * `AWS_SERVICECATALOG` - List default portfolios + # * `AWS_SERVICECATALOG` - Deprecated type. # - # * `IMPORTED` - List imported portfolios + # * `IMPORTED` - List imported portfolios that have been accepted and + # shared through account-to-account sharing. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioSharesInput AWS API Documentation diff --git a/gems/aws-sdk-sts/CHANGELOG.md b/gems/aws-sdk-sts/CHANGELOG.md index c91e2b232c8..9f34659e1f3 100644 --- a/gems/aws-sdk-sts/CHANGELOG.md +++ b/gems/aws-sdk-sts/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.7.0 (2022-05-16) +------------------ + +* Feature - Documentation updates for AWS Security Token Service. + 1.6.0 (2022-03-04) ------------------ diff --git a/gems/aws-sdk-sts/VERSION b/gems/aws-sdk-sts/VERSION index dc1e644a101..bd8bf882d06 100644 --- a/gems/aws-sdk-sts/VERSION +++ b/gems/aws-sdk-sts/VERSION @@ -1 +1 @@ -1.6.0 +1.7.0 diff --git a/gems/aws-sdk-workspacesweb/CHANGELOG.md b/gems/aws-sdk-workspacesweb/CHANGELOG.md index 2d0c67c2eaa..43eee3db8be 100644 --- a/gems/aws-sdk-workspacesweb/CHANGELOG.md +++ b/gems/aws-sdk-workspacesweb/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.4.0 (2022-05-16) +------------------ + +* Feature - Amazon WorkSpaces Web now supports Administrator timeout control + 1.3.0 (2022-02-24) ------------------ diff --git a/gems/aws-sdk-workspacesweb/VERSION b/gems/aws-sdk-workspacesweb/VERSION index f0bb29e7638..88c5fb891dc 100644 --- a/gems/aws-sdk-workspacesweb/VERSION +++ b/gems/aws-sdk-workspacesweb/VERSION @@ -1 +1 @@ -1.3.0 +1.4.0 diff --git a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb.rb b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb.rb index 6d2be1f8790..cd30c348a8a 100644 --- a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb.rb +++ b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb.rb @@ -48,6 +48,6 @@ # @!group service module Aws::WorkSpacesWeb - GEM_VERSION = '1.3.0' + GEM_VERSION = '1.4.0' end diff --git a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client.rb b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client.rb index eb2f1cfe28a..1e89cdbb3b2 100644 --- a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client.rb +++ b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client.rb @@ -631,7 +631,7 @@ def create_browser_settings(params = {}, options = {}) # # * `MetadataFile` OR `MetadataURL` # - # * `IDPSignout` *optional* + # * `IDPSignout` (boolean) *optional* # # @option params [required, String] :identity_provider_name # The identity provider name. @@ -879,10 +879,19 @@ def create_trust_store(params = {}, options = {}) # Specifies whether the user can copy text from the streaming session to # the local device. # + # @option params [Integer] :disconnect_timeout_in_minutes + # The amount of time that a streaming session remains active after users + # disconnect. + # # @option params [required, String] :download_allowed # Specifies whether the user can download files from the streaming # session to the local device. # + # @option params [Integer] :idle_disconnect_timeout_in_minutes + # The amount of time that users can be idle (inactive) before they are + # disconnected from their streaming session and the disconnect timeout + # interval begins. + # # @option params [required, String] :paste_allowed # Specifies whether the user can paste text from the local device to the # streaming session. @@ -907,7 +916,9 @@ def create_trust_store(params = {}, options = {}) # resp = client.create_user_settings({ # client_token: "ClientToken", # copy_allowed: "Disabled", # required, accepts Disabled, Enabled + # disconnect_timeout_in_minutes: 1, # download_allowed: "Disabled", # required, accepts Disabled, Enabled + # idle_disconnect_timeout_in_minutes: 1, # paste_allowed: "Disabled", # required, accepts Disabled, Enabled # print_allowed: "Disabled", # required, accepts Disabled, Enabled # tags: [ @@ -1408,7 +1419,9 @@ def get_trust_store_certificate(params = {}, options = {}) # resp.user_settings.associated_portal_arns #=> Array # resp.user_settings.associated_portal_arns[0] #=> String # resp.user_settings.copy_allowed #=> String, one of "Disabled", "Enabled" + # resp.user_settings.disconnect_timeout_in_minutes #=> Integer # resp.user_settings.download_allowed #=> String, one of "Disabled", "Enabled" + # resp.user_settings.idle_disconnect_timeout_in_minutes #=> Integer # resp.user_settings.paste_allowed #=> String, one of "Disabled", "Enabled" # resp.user_settings.print_allowed #=> String, one of "Disabled", "Enabled" # resp.user_settings.upload_allowed #=> String, one of "Disabled", "Enabled" @@ -1736,7 +1749,9 @@ def list_trust_stores(params = {}, options = {}) # resp.next_token #=> String # resp.user_settings #=> Array # resp.user_settings[0].copy_allowed #=> String, one of "Disabled", "Enabled" + # resp.user_settings[0].disconnect_timeout_in_minutes #=> Integer # resp.user_settings[0].download_allowed #=> String, one of "Disabled", "Enabled" + # resp.user_settings[0].idle_disconnect_timeout_in_minutes #=> Integer # resp.user_settings[0].paste_allowed #=> String, one of "Disabled", "Enabled" # resp.user_settings[0].print_allowed #=> String, one of "Disabled", "Enabled" # resp.user_settings[0].upload_allowed #=> String, one of "Disabled", "Enabled" @@ -1891,7 +1906,68 @@ def update_browser_settings(params = {}, options = {}) # The ARN of the identity provider. # # @option params [Hash] :identity_provider_details - # The details of the identity provider. + # The details of the identity provider. The following list describes the + # provider detail keys for each identity provider type. + # + # * For Google and Login with Amazon: + # + # * `client_id` + # + # * `client_secret` + # + # * `authorize_scopes` + # + # * For Facebook: + # + # * `client_id` + # + # * `client_secret` + # + # * `authorize_scopes` + # + # * `api_version` + # + # * For Sign in with Apple: + # + # * `client_id` + # + # * `team_id` + # + # * `key_id` + # + # * `private_key` + # + # * `authorize_scopes` + # + # * For OIDC providers: + # + # * `client_id` + # + # * `client_secret` + # + # * `attributes_request_method` + # + # * `oidc_issuer` + # + # * `authorize_scopes` + # + # * `authorize_url` *if not available from discovery URL specified by + # `oidc_issuer` key* + # + # * `token_url` *if not available from discovery URL specified by + # `oidc_issuer` key* + # + # * `attributes_url` *if not available from discovery URL specified by + # `oidc_issuer` key* + # + # * `jwks_uri` *if not available from discovery URL specified by + # `oidc_issuer` key* + # + # * For SAML providers: + # + # * `MetadataFile` OR `MetadataURL` + # + # * `IDPSignout` (boolean) *optional* # # @option params [String] :identity_provider_name # The name of the identity provider. @@ -2109,10 +2185,19 @@ def update_trust_store(params = {}, options = {}) # Specifies whether the user can copy text from the streaming session to # the local device. # + # @option params [Integer] :disconnect_timeout_in_minutes + # The amount of time that a streaming session remains active after users + # disconnect. + # # @option params [String] :download_allowed # Specifies whether the user can download files from the streaming # session to the local device. # + # @option params [Integer] :idle_disconnect_timeout_in_minutes + # The amount of time that users can be idle (inactive) before they are + # disconnected from their streaming session and the disconnect timeout + # interval begins. + # # @option params [String] :paste_allowed # Specifies whether the user can paste text from the local device to the # streaming session. @@ -2136,7 +2221,9 @@ def update_trust_store(params = {}, options = {}) # resp = client.update_user_settings({ # client_token: "ClientToken", # copy_allowed: "Disabled", # accepts Disabled, Enabled + # disconnect_timeout_in_minutes: 1, # download_allowed: "Disabled", # accepts Disabled, Enabled + # idle_disconnect_timeout_in_minutes: 1, # paste_allowed: "Disabled", # accepts Disabled, Enabled # print_allowed: "Disabled", # accepts Disabled, Enabled # upload_allowed: "Disabled", # accepts Disabled, Enabled @@ -2148,7 +2235,9 @@ def update_trust_store(params = {}, options = {}) # resp.user_settings.associated_portal_arns #=> Array # resp.user_settings.associated_portal_arns[0] #=> String # resp.user_settings.copy_allowed #=> String, one of "Disabled", "Enabled" + # resp.user_settings.disconnect_timeout_in_minutes #=> Integer # resp.user_settings.download_allowed #=> String, one of "Disabled", "Enabled" + # resp.user_settings.idle_disconnect_timeout_in_minutes #=> Integer # resp.user_settings.paste_allowed #=> String, one of "Disabled", "Enabled" # resp.user_settings.print_allowed #=> String, one of "Disabled", "Enabled" # resp.user_settings.upload_allowed #=> String, one of "Disabled", "Enabled" @@ -2176,7 +2265,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-workspacesweb' - context[:gem_version] = '1.3.0' + context[:gem_version] = '1.4.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client_api.rb b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client_api.rb index 22dc38e839d..5da1488bf35 100644 --- a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client_api.rb +++ b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client_api.rb @@ -71,6 +71,7 @@ module ClientApi DisassociateTrustStoreResponse = Shapes::StructureShape.new(name: 'DisassociateTrustStoreResponse') DisassociateUserSettingsRequest = Shapes::StructureShape.new(name: 'DisassociateUserSettingsRequest') DisassociateUserSettingsResponse = Shapes::StructureShape.new(name: 'DisassociateUserSettingsResponse') + DisconnectTimeoutInMinutes = Shapes::IntegerShape.new(name: 'DisconnectTimeoutInMinutes') DisplayName = Shapes::StringShape.new(name: 'DisplayName') EnabledType = Shapes::StringShape.new(name: 'EnabledType') EncryptionContextMap = Shapes::MapShape.new(name: 'EncryptionContextMap') @@ -98,6 +99,7 @@ module ClientApi IdentityProviderName = Shapes::StringShape.new(name: 'IdentityProviderName') IdentityProviderSummary = Shapes::StructureShape.new(name: 'IdentityProviderSummary') IdentityProviderType = Shapes::StringShape.new(name: 'IdentityProviderType') + IdleDisconnectTimeoutInMinutes = Shapes::IntegerShape.new(name: 'IdleDisconnectTimeoutInMinutes') InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException') ListBrowserSettingsRequest = Shapes::StructureShape.new(name: 'ListBrowserSettingsRequest') ListBrowserSettingsResponse = Shapes::StructureShape.new(name: 'ListBrowserSettingsResponse') @@ -302,7 +304,9 @@ module ClientApi CreateUserSettingsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true})) CreateUserSettingsRequest.add_member(:copy_allowed, Shapes::ShapeRef.new(shape: EnabledType, required: true, location_name: "copyAllowed")) + CreateUserSettingsRequest.add_member(:disconnect_timeout_in_minutes, Shapes::ShapeRef.new(shape: DisconnectTimeoutInMinutes, location_name: "disconnectTimeoutInMinutes")) CreateUserSettingsRequest.add_member(:download_allowed, Shapes::ShapeRef.new(shape: EnabledType, required: true, location_name: "downloadAllowed")) + CreateUserSettingsRequest.add_member(:idle_disconnect_timeout_in_minutes, Shapes::ShapeRef.new(shape: IdleDisconnectTimeoutInMinutes, location_name: "idleDisconnectTimeoutInMinutes")) CreateUserSettingsRequest.add_member(:paste_allowed, Shapes::ShapeRef.new(shape: EnabledType, required: true, location_name: "pasteAllowed")) CreateUserSettingsRequest.add_member(:print_allowed, Shapes::ShapeRef.new(shape: EnabledType, required: true, location_name: "printAllowed")) CreateUserSettingsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags")) @@ -645,7 +649,9 @@ module ClientApi UpdateUserSettingsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true})) UpdateUserSettingsRequest.add_member(:copy_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "copyAllowed")) + UpdateUserSettingsRequest.add_member(:disconnect_timeout_in_minutes, Shapes::ShapeRef.new(shape: DisconnectTimeoutInMinutes, location_name: "disconnectTimeoutInMinutes")) UpdateUserSettingsRequest.add_member(:download_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "downloadAllowed")) + UpdateUserSettingsRequest.add_member(:idle_disconnect_timeout_in_minutes, Shapes::ShapeRef.new(shape: IdleDisconnectTimeoutInMinutes, location_name: "idleDisconnectTimeoutInMinutes")) UpdateUserSettingsRequest.add_member(:paste_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "pasteAllowed")) UpdateUserSettingsRequest.add_member(:print_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "printAllowed")) UpdateUserSettingsRequest.add_member(:upload_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "uploadAllowed")) @@ -657,7 +663,9 @@ module ClientApi UserSettings.add_member(:associated_portal_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "associatedPortalArns")) UserSettings.add_member(:copy_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "copyAllowed")) + UserSettings.add_member(:disconnect_timeout_in_minutes, Shapes::ShapeRef.new(shape: DisconnectTimeoutInMinutes, location_name: "disconnectTimeoutInMinutes")) UserSettings.add_member(:download_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "downloadAllowed")) + UserSettings.add_member(:idle_disconnect_timeout_in_minutes, Shapes::ShapeRef.new(shape: IdleDisconnectTimeoutInMinutes, location_name: "idleDisconnectTimeoutInMinutes")) UserSettings.add_member(:paste_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "pasteAllowed")) UserSettings.add_member(:print_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "printAllowed")) UserSettings.add_member(:upload_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "uploadAllowed")) @@ -667,7 +675,9 @@ module ClientApi UserSettingsList.member = Shapes::ShapeRef.new(shape: UserSettingsSummary) UserSettingsSummary.add_member(:copy_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "copyAllowed")) + UserSettingsSummary.add_member(:disconnect_timeout_in_minutes, Shapes::ShapeRef.new(shape: DisconnectTimeoutInMinutes, location_name: "disconnectTimeoutInMinutes")) UserSettingsSummary.add_member(:download_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "downloadAllowed")) + UserSettingsSummary.add_member(:idle_disconnect_timeout_in_minutes, Shapes::ShapeRef.new(shape: IdleDisconnectTimeoutInMinutes, location_name: "idleDisconnectTimeoutInMinutes")) UserSettingsSummary.add_member(:paste_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "pasteAllowed")) UserSettingsSummary.add_member(:print_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "printAllowed")) UserSettingsSummary.add_member(:upload_allowed, Shapes::ShapeRef.new(shape: EnabledType, location_name: "uploadAllowed")) @@ -783,6 +793,7 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException) o.errors << Shapes::ShapeRef.new(shape: ValidationException) o.errors << Shapes::ShapeRef.new(shape: ConflictException) end) diff --git a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/types.rb b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/types.rb index 1aed4947f90..243f71ac13f 100644 --- a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/types.rb +++ b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/types.rb @@ -216,7 +216,7 @@ class BrowserSettings < Struct.new( :associated_portal_arns, :browser_policy, :browser_settings_arn) - SENSITIVE = [] + SENSITIVE = [:browser_policy] include Aws::Structure end @@ -389,7 +389,7 @@ class CreateBrowserSettingsRequest < Struct.new( :client_token, :customer_managed_key, :tags) - SENSITIVE = [] + SENSITIVE = [:browser_policy] include Aws::Structure end @@ -495,7 +495,7 @@ class CreateBrowserSettingsResponse < Struct.new( # # * `MetadataFile` OR `MetadataURL` # - # * `IDPSignout` *optional* + # * `IDPSignout` (boolean) *optional* # @return [Hash] # # @!attribute [rw] identity_provider_name @@ -518,7 +518,7 @@ class CreateIdentityProviderRequest < Struct.new( :identity_provider_name, :identity_provider_type, :portal_arn) - SENSITIVE = [] + SENSITIVE = [:identity_provider_details, :identity_provider_name] include Aws::Structure end @@ -667,7 +667,7 @@ class CreatePortalRequest < Struct.new( :customer_managed_key, :display_name, :tags) - SENSITIVE = [] + SENSITIVE = [:display_name] include Aws::Structure end @@ -754,7 +754,9 @@ class CreateTrustStoreResponse < Struct.new( # { # client_token: "ClientToken", # copy_allowed: "Disabled", # required, accepts Disabled, Enabled + # disconnect_timeout_in_minutes: 1, # download_allowed: "Disabled", # required, accepts Disabled, Enabled + # idle_disconnect_timeout_in_minutes: 1, # paste_allowed: "Disabled", # required, accepts Disabled, Enabled # print_allowed: "Disabled", # required, accepts Disabled, Enabled # tags: [ @@ -786,11 +788,22 @@ class CreateTrustStoreResponse < Struct.new( # to the local device. # @return [String] # + # @!attribute [rw] disconnect_timeout_in_minutes + # The amount of time that a streaming session remains active after + # users disconnect. + # @return [Integer] + # # @!attribute [rw] download_allowed # Specifies whether the user can download files from the streaming # session to the local device. # @return [String] # + # @!attribute [rw] idle_disconnect_timeout_in_minutes + # The amount of time that users can be idle (inactive) before they are + # disconnected from their streaming session and the disconnect timeout + # interval begins. + # @return [Integer] + # # @!attribute [rw] paste_allowed # Specifies whether the user can paste text from the local device to # the streaming session. @@ -815,7 +828,9 @@ class CreateTrustStoreResponse < Struct.new( class CreateUserSettingsRequest < Struct.new( :client_token, :copy_allowed, + :disconnect_timeout_in_minutes, :download_allowed, + :idle_disconnect_timeout_in_minutes, :paste_allowed, :print_allowed, :tags, @@ -1416,7 +1431,7 @@ class IdentityProvider < Struct.new( :identity_provider_details, :identity_provider_name, :identity_provider_type) - SENSITIVE = [] + SENSITIVE = [:identity_provider_details, :identity_provider_name] include Aws::Structure end @@ -1440,7 +1455,7 @@ class IdentityProviderSummary < Struct.new( :identity_provider_arn, :identity_provider_name, :identity_provider_type) - SENSITIVE = [] + SENSITIVE = [:identity_provider_name] include Aws::Structure end @@ -1945,7 +1960,7 @@ class Portal < Struct.new( :status_reason, :trust_store_arn, :user_settings_arn) - SENSITIVE = [] + SENSITIVE = [:display_name] include Aws::Structure end @@ -2012,7 +2027,7 @@ class PortalSummary < Struct.new( :renderer_type, :trust_store_arn, :user_settings_arn) - SENSITIVE = [] + SENSITIVE = [:display_name] include Aws::Structure end @@ -2095,7 +2110,7 @@ class ServiceQuotaExceededException < Struct.new( class Tag < Struct.new( :key, :value) - SENSITIVE = [] + SENSITIVE = [:key, :value] include Aws::Structure end @@ -2302,7 +2317,7 @@ class UpdateBrowserSettingsRequest < Struct.new( :browser_policy, :browser_settings_arn, :client_token) - SENSITIVE = [] + SENSITIVE = [:browser_policy] include Aws::Structure end @@ -2350,7 +2365,68 @@ class UpdateBrowserSettingsResponse < Struct.new( # @return [String] # # @!attribute [rw] identity_provider_details - # The details of the identity provider. + # The details of the identity provider. The following list describes + # the provider detail keys for each identity provider type. + # + # * For Google and Login with Amazon: + # + # * `client_id` + # + # * `client_secret` + # + # * `authorize_scopes` + # + # * For Facebook: + # + # * `client_id` + # + # * `client_secret` + # + # * `authorize_scopes` + # + # * `api_version` + # + # * For Sign in with Apple: + # + # * `client_id` + # + # * `team_id` + # + # * `key_id` + # + # * `private_key` + # + # * `authorize_scopes` + # + # * For OIDC providers: + # + # * `client_id` + # + # * `client_secret` + # + # * `attributes_request_method` + # + # * `oidc_issuer` + # + # * `authorize_scopes` + # + # * `authorize_url` *if not available from discovery URL specified + # by `oidc_issuer` key* + # + # * `token_url` *if not available from discovery URL specified by + # `oidc_issuer` key* + # + # * `attributes_url` *if not available from discovery URL specified + # by `oidc_issuer` key* + # + # * `jwks_uri` *if not available from discovery URL specified by + # `oidc_issuer` key* + # + # * For SAML providers: + # + # * `MetadataFile` OR `MetadataURL` + # + # * `IDPSignout` (boolean) *optional* # @return [Hash] # # @!attribute [rw] identity_provider_name @@ -2369,7 +2445,7 @@ class UpdateIdentityProviderRequest < Struct.new( :identity_provider_details, :identity_provider_name, :identity_provider_type) - SENSITIVE = [] + SENSITIVE = [:identity_provider_details, :identity_provider_name] include Aws::Structure end @@ -2475,7 +2551,7 @@ class UpdateNetworkSettingsResponse < Struct.new( class UpdatePortalRequest < Struct.new( :display_name, :portal_arn) - SENSITIVE = [] + SENSITIVE = [:display_name] include Aws::Structure end @@ -2556,7 +2632,9 @@ class UpdateTrustStoreResponse < Struct.new( # { # client_token: "ClientToken", # copy_allowed: "Disabled", # accepts Disabled, Enabled + # disconnect_timeout_in_minutes: 1, # download_allowed: "Disabled", # accepts Disabled, Enabled + # idle_disconnect_timeout_in_minutes: 1, # paste_allowed: "Disabled", # accepts Disabled, Enabled # print_allowed: "Disabled", # accepts Disabled, Enabled # upload_allowed: "Disabled", # accepts Disabled, Enabled @@ -2582,11 +2660,22 @@ class UpdateTrustStoreResponse < Struct.new( # to the local device. # @return [String] # + # @!attribute [rw] disconnect_timeout_in_minutes + # The amount of time that a streaming session remains active after + # users disconnect. + # @return [Integer] + # # @!attribute [rw] download_allowed # Specifies whether the user can download files from the streaming # session to the local device. # @return [String] # + # @!attribute [rw] idle_disconnect_timeout_in_minutes + # The amount of time that users can be idle (inactive) before they are + # disconnected from their streaming session and the disconnect timeout + # interval begins. + # @return [Integer] + # # @!attribute [rw] paste_allowed # Specifies whether the user can paste text from the local device to # the streaming session. @@ -2610,7 +2699,9 @@ class UpdateTrustStoreResponse < Struct.new( class UpdateUserSettingsRequest < Struct.new( :client_token, :copy_allowed, + :disconnect_timeout_in_minutes, :download_allowed, + :idle_disconnect_timeout_in_minutes, :paste_allowed, :print_allowed, :upload_allowed, @@ -2645,11 +2736,22 @@ class UpdateUserSettingsResponse < Struct.new( # to the local device. # @return [String] # + # @!attribute [rw] disconnect_timeout_in_minutes + # The amount of time that a streaming session remains active after + # users disconnect. + # @return [Integer] + # # @!attribute [rw] download_allowed # Specifies whether the user can download files from the streaming # session to the local device. # @return [String] # + # @!attribute [rw] idle_disconnect_timeout_in_minutes + # The amount of time that users can be idle (inactive) before they are + # disconnected from their streaming session and the disconnect timeout + # interval begins. + # @return [Integer] + # # @!attribute [rw] paste_allowed # Specifies whether the user can paste text from the local device to # the streaming session. @@ -2673,7 +2775,9 @@ class UpdateUserSettingsResponse < Struct.new( class UserSettings < Struct.new( :associated_portal_arns, :copy_allowed, + :disconnect_timeout_in_minutes, :download_allowed, + :idle_disconnect_timeout_in_minutes, :paste_allowed, :print_allowed, :upload_allowed, @@ -2689,11 +2793,22 @@ class UserSettings < Struct.new( # to the local device. # @return [String] # + # @!attribute [rw] disconnect_timeout_in_minutes + # The amount of time that a streaming session remains active after + # users disconnect. + # @return [Integer] + # # @!attribute [rw] download_allowed # Specifies whether the user can download files from the streaming # session to the local device. # @return [String] # + # @!attribute [rw] idle_disconnect_timeout_in_minutes + # The amount of time that users can be idle (inactive) before they are + # disconnected from their streaming session and the disconnect timeout + # interval begins. + # @return [Integer] + # # @!attribute [rw] paste_allowed # Specifies whether the user can paste text from the local device to # the streaming session. @@ -2716,7 +2831,9 @@ class UserSettings < Struct.new( # class UserSettingsSummary < Struct.new( :copy_allowed, + :disconnect_timeout_in_minutes, :download_allowed, + :idle_disconnect_timeout_in_minutes, :paste_allowed, :print_allowed, :upload_allowed,