From 12319c74faa2482b54a6ab7116f5f27ccdcdd3df Mon Sep 17 00:00:00 2001 From: 0marperez <60363173+0marperez@users.noreply.github.com> Date: Tue, 9 Apr 2024 12:24:37 -0400 Subject: [PATCH] model sync (#1275) --- .../sdk/aws-models/application-insights.json | 30 + .../aws-models/codestar-notifications.json | 16 +- codegen/sdk/aws-models/controlcatalog.json | 1441 +++++++++++ codegen/sdk/aws-models/elastic-beanstalk.json | 48 + .../aws-models/elastic-load-balancing.json | 173 ++ codegen/sdk/aws-models/launch-wizard.json | 2265 +++++++++++++++++ codegen/sdk/aws-models/m2.json | 155 +- codegen/sdk/aws-models/mgn.json | 10 +- codegen/sdk/aws-models/neptune.json | 11 - codegen/sdk/aws-models/neptunedata.json | 27 +- codegen/sdk/aws-models/network-firewall.json | 178 +- codegen/sdk/aws-models/networkmonitor.json | 34 +- .../sdk/aws-models/opensearchserverless.json | 11 - codegen/sdk/aws-models/s3outposts.json | 12 + codegen/sdk/aws-models/sso-oidc.json | 85 + codegen/sdk/aws-models/sts.json | 18 + codegen/sdk/aws-models/support.json | 9 +- codegen/sdk/aws-models/translate.json | 42 +- 18 files changed, 4465 insertions(+), 100 deletions(-) create mode 100644 codegen/sdk/aws-models/controlcatalog.json create mode 100644 codegen/sdk/aws-models/launch-wizard.json diff --git a/codegen/sdk/aws-models/application-insights.json b/codegen/sdk/aws-models/application-insights.json index cf774fb7824..d0aab87f7dc 100644 --- a/codegen/sdk/aws-models/application-insights.json +++ b/codegen/sdk/aws-models/application-insights.json @@ -256,6 +256,12 @@ "traits": { "smithy.api#documentation": "

The method used by Application Insights to onboard your resources.

" } + }, + "AttachMissingPermission": { + "target": "com.amazonaws.applicationinsights#AttachMissingPermission", + "traits": { + "smithy.api#documentation": "

If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.

" + } } }, "traits": { @@ -268,6 +274,9 @@ "target": "com.amazonaws.applicationinsights#ApplicationInfo" } }, + "com.amazonaws.applicationinsights#AttachMissingPermission": { + "type": "boolean" + }, "com.amazonaws.applicationinsights#AutoConfigEnabled": { "type": "boolean" }, @@ -572,6 +581,12 @@ "traits": { "smithy.api#documentation": "

Application Insights can create applications based on a resource group or on an account.\n To create an account-based application using all of the resources in the account, set this\n parameter to ACCOUNT_BASED.

" } + }, + "AttachMissingPermission": { + "target": "com.amazonaws.applicationinsights#AttachMissingPermission", + "traits": { + "smithy.api#documentation": "

If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.

" + } } }, "traits": { @@ -1067,6 +1082,12 @@ "smithy.api#required": {} } }, + "WorkloadName": { + "target": "com.amazonaws.applicationinsights#WorkloadName", + "traits": { + "smithy.api#documentation": "

The name of the workload.

" + } + }, "RecommendationType": { "target": "com.amazonaws.applicationinsights#RecommendationType", "traits": { @@ -4694,6 +4715,12 @@ "traits": { "smithy.api#documentation": "

Turns auto-configuration on or off.

" } + }, + "AttachMissingPermission": { + "target": "com.amazonaws.applicationinsights#AttachMissingPermission", + "traits": { + "smithy.api#documentation": "

If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.

" + } } }, "traits": { @@ -4752,6 +4779,9 @@ { "target": "com.amazonaws.applicationinsights#InternalServerException" }, + { + "target": "com.amazonaws.applicationinsights#ResourceInUseException" + }, { "target": "com.amazonaws.applicationinsights#ResourceNotFoundException" }, diff --git a/codegen/sdk/aws-models/codestar-notifications.json b/codegen/sdk/aws-models/codestar-notifications.json index d1fdc6b278f..60f3ce1a2d5 100644 --- a/codegen/sdk/aws-models/codestar-notifications.json +++ b/codegen/sdk/aws-models/codestar-notifications.json @@ -37,7 +37,7 @@ } }, "traits": { - "smithy.api#documentation": "

AWS CodeStar Notifications can't create the notification rule because you do not have sufficient\n permissions.

", + "smithy.api#documentation": "

CodeStar Notifications can't create the notification rule because you do not have sufficient\n permissions.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } @@ -108,7 +108,7 @@ "name": "codestar-notifications" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the\n operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API\n to work with the following objects:

\n

Notification rules, by calling the following:

\n \n

Targets, by calling the following:

\n \n

Events, by calling the following:

\n \n

Tags, by calling the following:

\n \n

For information about how to use AWS CodeStar Notifications, see the Amazon Web Services Developer Tools Console User Guide.\n

", + "smithy.api#documentation": "

This CodeStar Notifications API Reference provides descriptions and usage examples of the\n operations and data types for the CodeStar Notifications API. You can use the CodeStar Notifications API\n to work with the following objects:

\n

Notification rules, by calling the following:

\n \n

Targets, by calling the following:

\n \n

Events, by calling the following:

\n \n

Tags, by calling the following:

\n \n

For information about how to use CodeStar Notifications, see the Amazon Web Services Developer Tools Console User Guide.\n

", "smithy.api#title": "AWS CodeStar Notifications", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -748,7 +748,7 @@ } }, "traits": { - "smithy.api#documentation": "

AWS CodeStar Notifications can't complete the request because the resource is being modified by\n another process. Wait a few minutes and try again.

", + "smithy.api#documentation": "

CodeStar Notifications can't complete the request because the resource is being modified by\n another process. Wait a few minutes and try again.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -837,7 +837,7 @@ "DetailType": { "target": "com.amazonaws.codestarnotifications#DetailType", "traits": { - "smithy.api#documentation": "

The level of detail to include in the notifications for this resource. BASIC will include only the \n contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information\n provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

", + "smithy.api#documentation": "

The level of detail to include in the notifications for this resource. BASIC will include only the \n contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information\n provided by CodeStar Notifications and/or the service for the resource for which the notification is created.

", "smithy.api#required": {} } }, @@ -1067,7 +1067,7 @@ "DetailType": { "target": "com.amazonaws.codestarnotifications#DetailType", "traits": { - "smithy.api#documentation": "

The level of detail included in the notifications for this resource. BASIC will include only the \n contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information\n provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

" + "smithy.api#documentation": "

The level of detail included in the notifications for this resource. BASIC will include only the \n contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information\n provided by CodeStar Notifications and/or the service for the resource for which the notification is created.

" } }, "CreatedBy": { @@ -1208,7 +1208,7 @@ } }, "traits": { - "smithy.api#documentation": "

One of the AWS CodeStar Notifications limits has been exceeded. Limits apply to\n accounts, notification rules, notifications, resources, and targets. For more\n information, see Limits.

", + "smithy.api#documentation": "

One of the CodeStar Notifications limits has been exceeded. Limits apply to\n accounts, notification rules, notifications, resources, and targets. For more\n information, see Limits.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -1799,7 +1799,7 @@ } }, "traits": { - "smithy.api#documentation": "

AWS CodeStar Notifications can't find a resource that matches the provided ARN.

", + "smithy.api#documentation": "

CodeStar Notifications can't find a resource that matches the provided ARN.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } @@ -2288,7 +2288,7 @@ "DetailType": { "target": "com.amazonaws.codestarnotifications#DetailType", "traits": { - "smithy.api#documentation": "

The level of detail to include in the notifications for this resource. BASIC will include only the \n contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information\n provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

" + "smithy.api#documentation": "

The level of detail to include in the notifications for this resource. BASIC will include only the \n contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information\n provided by CodeStar Notifications and/or the service for the resource for which the notification is created.

" } } }, diff --git a/codegen/sdk/aws-models/controlcatalog.json b/codegen/sdk/aws-models/controlcatalog.json new file mode 100644 index 00000000000..1f9a73a5036 --- /dev/null +++ b/codegen/sdk/aws-models/controlcatalog.json @@ -0,0 +1,1441 @@ +{ + "smithy": "2.0", + "shapes": { + "com.amazonaws.controlcatalog#AccessDeniedException": { + "type": "structure", + "members": { + "Message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "

You do not have sufficient access to perform this action.

", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.controlcatalog#AssociatedDomainSummary": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.controlcatalog#DomainArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the related domain.

" + } + }, + "Name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the related domain.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A summary of the domain that a common control or an objective belongs to.

" + } + }, + "com.amazonaws.controlcatalog#AssociatedObjectiveSummary": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.controlcatalog#ObjectiveArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the related objective.

" + } + }, + "Name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the related objective.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A summary of the objective that a common control supports.

" + } + }, + "com.amazonaws.controlcatalog#CommonControlArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 41, + "max": 2048 + }, + "smithy.api#pattern": "^arn:(aws(?:[-a-z]*)?):controlcatalog:::common-control/[0-9a-z]+$" + } + }, + "com.amazonaws.controlcatalog#CommonControlFilter": { + "type": "structure", + "members": { + "Objectives": { + "target": "com.amazonaws.controlcatalog#ObjectiveResourceFilterList", + "traits": { + "smithy.api#documentation": "

The objective that's used as filter criteria.

\n

You can use this parameter to specify one objective ARN at a time. Passing multiple ARNs\n in the CommonControlFilter isn’t currently supported.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An optional filter that narrows the results to a specific objective.

" + } + }, + "com.amazonaws.controlcatalog#CommonControlResource": { + "type": "resource", + "identifiers": { + "CommonControlArn": { + "target": "com.amazonaws.controlcatalog#CommonControlArn" + } + }, + "list": { + "target": "com.amazonaws.controlcatalog#ListCommonControls" + }, + "traits": { + "aws.api#arn": { + "template": "{CommonControlArn}", + "noAccount": true, + "absolute": true + }, + "aws.iam#disableConditionKeyInference": {}, + "aws.iam#iamResource": { + "name": "common-control" + } + } + }, + "com.amazonaws.controlcatalog#CommonControlSummary": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.controlcatalog#CommonControlArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the common control.

", + "smithy.api#required": {} + } + }, + "Name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the common control.

", + "smithy.api#required": {} + } + }, + "Description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the common control.

", + "smithy.api#required": {} + } + }, + "Domain": { + "target": "com.amazonaws.controlcatalog#AssociatedDomainSummary", + "traits": { + "smithy.api#documentation": "

The domain that the common control belongs to.

", + "smithy.api#required": {} + } + }, + "Objective": { + "target": "com.amazonaws.controlcatalog#AssociatedObjectiveSummary", + "traits": { + "smithy.api#documentation": "

The objective that the common control belongs to.

", + "smithy.api#required": {} + } + }, + "CreateTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the common control was created.

", + "smithy.api#required": {} + } + }, + "LastUpdateTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the common control was most recently updated.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

A summary of metadata for a common control.

" + } + }, + "com.amazonaws.controlcatalog#CommonControlSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.controlcatalog#CommonControlSummary" + } + }, + "com.amazonaws.controlcatalog#ControlCatalog": { + "type": "service", + "version": "2018-05-10", + "resources": [ + { + "target": "com.amazonaws.controlcatalog#CommonControlResource" + }, + { + "target": "com.amazonaws.controlcatalog#DomainResource" + }, + { + "target": "com.amazonaws.controlcatalog#ObjectiveResource" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "ControlCatalog", + "arnNamespace": "controlcatalog", + "cloudTrailEventSource": "controlcatalog.amazonaws.com" + }, + "aws.auth#sigv4": { + "name": "controlcatalog" + }, + "aws.iam#supportedPrincipalTypes": [ + "Root", + "IAMUser", + "IAMRole", + "FederatedUser" + ], + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "origin": "*", + "additionalAllowedHeaders": [ + "*", + "access-control-allow-origin", + "Amz-Sdk-Invocation-Id", + "Amz-Sdk-Request", + "Authorization", + "Content-Length", + "Content-Type", + "Date", + "Host", + "X-Amz-Content-Sha256", + "X-Amz-Date", + "X-Amz-Security-Token", + "X-Amz-Target", + "X-Amz-User-Agent", + "X-Amzn-Trace-Id" + ] + }, + "smithy.api#documentation": "

Welcome to the Amazon Web Services Control Catalog API reference. This guide is for \n developers who need detailed information about how to programmatically identify and filter \n the common controls and related metadata that are available to Amazon Web Services customers. This API reference provides \n descriptions, syntax, and usage examples for each of the actions and data types that are \n supported by Amazon Web Services Control Catalog.

\n

Use the following links to get started with the Amazon Web Services Control Catalog API:

\n ", + "smithy.api#title": "AWS Control Catalog", + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://controlcatalog-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + }, + true + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://controlcatalog-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://controlcatalog.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://controlcatalog.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ], + "type": "tree" + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://controlcatalog.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + } + ], + "version": "1.0" + } + } + }, + "com.amazonaws.controlcatalog#DomainArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 33, + "max": 2048 + }, + "smithy.api#pattern": "^arn:(aws(?:[-a-z]*)?):controlcatalog:::domain/[0-9a-z]+$" + } + }, + "com.amazonaws.controlcatalog#DomainResource": { + "type": "resource", + "identifiers": { + "DomainArn": { + "target": "com.amazonaws.controlcatalog#DomainArn" + } + }, + "list": { + "target": "com.amazonaws.controlcatalog#ListDomains" + }, + "traits": { + "aws.api#arn": { + "template": "{DomainArn}", + "noAccount": true, + "absolute": true + }, + "aws.iam#disableConditionKeyInference": {}, + "aws.iam#iamResource": { + "name": "domain" + } + } + }, + "com.amazonaws.controlcatalog#DomainResourceFilter": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.controlcatalog#DomainArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the domain.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The domain resource that's being used as a filter.

" + } + }, + "com.amazonaws.controlcatalog#DomainResourceFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.controlcatalog#DomainResourceFilter" + } + }, + "com.amazonaws.controlcatalog#DomainSummary": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.controlcatalog#DomainArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the domain.

", + "smithy.api#required": {} + } + }, + "Name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the domain.

", + "smithy.api#required": {} + } + }, + "Description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the domain.

", + "smithy.api#required": {} + } + }, + "CreateTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the domain was created.

", + "smithy.api#required": {} + } + }, + "LastUpdateTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the domain was most recently updated.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

A summary of metadata for a domain.

" + } + }, + "com.amazonaws.controlcatalog#DomainSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.controlcatalog#DomainSummary" + } + }, + "com.amazonaws.controlcatalog#InternalServerException": { + "type": "structure", + "members": { + "Message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "

An internal service error occurred during the processing of your request. Try again later.

", + "smithy.api#error": "server", + "smithy.api#httpError": 500, + "smithy.api#retryable": {} + } + }, + "com.amazonaws.controlcatalog#ListCommonControls": { + "type": "operation", + "input": { + "target": "com.amazonaws.controlcatalog#ListCommonControlsRequest" + }, + "output": { + "target": "com.amazonaws.controlcatalog#ListCommonControlsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.controlcatalog#AccessDeniedException" + }, + { + "target": "com.amazonaws.controlcatalog#InternalServerException" + }, + { + "target": "com.amazonaws.controlcatalog#ThrottlingException" + }, + { + "target": "com.amazonaws.controlcatalog#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a paginated list of common controls from the Amazon Web Services Control\n Catalog.

\n

You can apply an optional filter to see common controls that have a specific objective. If\n you don’t provide a filter, the operation returns all common controls.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/common-controls" + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults", + "items": "CommonControls" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.controlcatalog#ListCommonControlsRequest": { + "type": "structure", + "members": { + "MaxResults": { + "target": "com.amazonaws.controlcatalog#MaxListCommonControlsResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results on a page or for an API request call.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.controlcatalog#PaginationToken", + "traits": { + "smithy.api#documentation": "

The pagination token that's used to fetch the next set of results.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "CommonControlFilter": { + "target": "com.amazonaws.controlcatalog#CommonControlFilter", + "traits": { + "smithy.api#documentation": "

An optional filter that narrows the results to a specific objective.

\n

This filter allows you to specify one objective ARN at a time. Passing multiple ARNs in\n the CommonControlFilter isn’t currently supported.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.controlcatalog#ListCommonControlsResponse": { + "type": "structure", + "members": { + "CommonControls": { + "target": "com.amazonaws.controlcatalog#CommonControlSummaryList", + "traits": { + "smithy.api#documentation": "

The list of common controls that the ListCommonControls API returns.

", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.controlcatalog#PaginationToken", + "traits": { + "smithy.api#documentation": "

The pagination token that's used to fetch the next set of results.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.controlcatalog#ListDomains": { + "type": "operation", + "input": { + "target": "com.amazonaws.controlcatalog#ListDomainsRequest" + }, + "output": { + "target": "com.amazonaws.controlcatalog#ListDomainsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.controlcatalog#AccessDeniedException" + }, + { + "target": "com.amazonaws.controlcatalog#InternalServerException" + }, + { + "target": "com.amazonaws.controlcatalog#ThrottlingException" + }, + { + "target": "com.amazonaws.controlcatalog#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a paginated list of domains from the Amazon Web Services Control Catalog.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/domains" + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults", + "items": "Domains" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.controlcatalog#ListDomainsRequest": { + "type": "structure", + "members": { + "MaxResults": { + "target": "com.amazonaws.controlcatalog#MaxListDomainsResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results on a page or for an API request call.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.controlcatalog#PaginationToken", + "traits": { + "smithy.api#documentation": "

The pagination token that's used to fetch the next set of results.

", + "smithy.api#httpQuery": "nextToken" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.controlcatalog#ListDomainsResponse": { + "type": "structure", + "members": { + "Domains": { + "target": "com.amazonaws.controlcatalog#DomainSummaryList", + "traits": { + "smithy.api#documentation": "

The list of domains that the ListDomains API returns.

", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.controlcatalog#PaginationToken", + "traits": { + "smithy.api#documentation": "

The pagination token that's used to fetch the next set of results.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.controlcatalog#ListObjectives": { + "type": "operation", + "input": { + "target": "com.amazonaws.controlcatalog#ListObjectivesRequest" + }, + "output": { + "target": "com.amazonaws.controlcatalog#ListObjectivesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.controlcatalog#AccessDeniedException" + }, + { + "target": "com.amazonaws.controlcatalog#InternalServerException" + }, + { + "target": "com.amazonaws.controlcatalog#ThrottlingException" + }, + { + "target": "com.amazonaws.controlcatalog#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a paginated list of objectives from the Amazon Web Services Control Catalog.

\n

You can apply an optional filter to see the objectives that belong to a specific domain.\n If you don’t provide a filter, the operation returns all objectives.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/objectives" + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults", + "items": "Objectives" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.controlcatalog#ListObjectivesRequest": { + "type": "structure", + "members": { + "MaxResults": { + "target": "com.amazonaws.controlcatalog#MaxListObjectivesResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results on a page or for an API request call.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.controlcatalog#PaginationToken", + "traits": { + "smithy.api#documentation": "

The pagination token that's used to fetch the next set of results.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "ObjectiveFilter": { + "target": "com.amazonaws.controlcatalog#ObjectiveFilter", + "traits": { + "smithy.api#documentation": "

An optional filter that narrows the results to a specific domain.

\n

This filter allows you to specify one domain ARN at a time. \n Passing multiple ARNs in the ObjectiveFilter isn’t currently supported.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.controlcatalog#ListObjectivesResponse": { + "type": "structure", + "members": { + "Objectives": { + "target": "com.amazonaws.controlcatalog#ObjectiveSummaryList", + "traits": { + "smithy.api#documentation": "

The list of objectives that the ListObjectives API returns.

", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.controlcatalog#PaginationToken", + "traits": { + "smithy.api#documentation": "

The pagination token that's used to fetch the next set of results.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.controlcatalog#MaxListCommonControlsResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.controlcatalog#MaxListDomainsResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.controlcatalog#MaxListObjectivesResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.controlcatalog#ObjectiveArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 36, + "max": 2048 + }, + "smithy.api#pattern": "^arn:(aws(?:[-a-z]*)?):controlcatalog:::objective/[0-9a-z]+$" + } + }, + "com.amazonaws.controlcatalog#ObjectiveFilter": { + "type": "structure", + "members": { + "Domains": { + "target": "com.amazonaws.controlcatalog#DomainResourceFilterList", + "traits": { + "smithy.api#documentation": "

The domain that's used as filter criteria.

\n

You can use this parameter to specify one domain ARN at a time. Passing multiple ARNs in\n the ObjectiveFilter isn’t currently supported.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An optional filter that narrows the list of objectives to a specific domain.

" + } + }, + "com.amazonaws.controlcatalog#ObjectiveResource": { + "type": "resource", + "identifiers": { + "ObjectiveArn": { + "target": "com.amazonaws.controlcatalog#ObjectiveArn" + } + }, + "list": { + "target": "com.amazonaws.controlcatalog#ListObjectives" + }, + "traits": { + "aws.api#arn": { + "template": "{ObjectiveArn}", + "noAccount": true, + "absolute": true + }, + "aws.iam#disableConditionKeyInference": {}, + "aws.iam#iamResource": { + "name": "objective" + } + } + }, + "com.amazonaws.controlcatalog#ObjectiveResourceFilter": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.controlcatalog#ObjectiveArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the objective.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The objective resource that's being used as a filter.

" + } + }, + "com.amazonaws.controlcatalog#ObjectiveResourceFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.controlcatalog#ObjectiveResourceFilter" + } + }, + "com.amazonaws.controlcatalog#ObjectiveSummary": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.controlcatalog#ObjectiveArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the objective.

", + "smithy.api#required": {} + } + }, + "Name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the objective.

", + "smithy.api#required": {} + } + }, + "Description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the objective.

", + "smithy.api#required": {} + } + }, + "Domain": { + "target": "com.amazonaws.controlcatalog#AssociatedDomainSummary", + "traits": { + "smithy.api#documentation": "

The domain that the objective belongs to.

", + "smithy.api#required": {} + } + }, + "CreateTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the objective was created.

", + "smithy.api#required": {} + } + }, + "LastUpdateTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the objective was most recently updated.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

A summary of metadata for an objective.

" + } + }, + "com.amazonaws.controlcatalog#ObjectiveSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.controlcatalog#ObjectiveSummary" + } + }, + "com.amazonaws.controlcatalog#PaginationToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 1024 + } + } + }, + "com.amazonaws.controlcatalog#ThrottlingException": { + "type": "structure", + "members": { + "Message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "

The request was denied due to request throttling.

", + "smithy.api#error": "client", + "smithy.api#httpError": 429, + "smithy.api#retryable": { + "throttling": true + } + } + }, + "com.amazonaws.controlcatalog#ValidationException": { + "type": "structure", + "members": { + "Message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "

The request has invalid or missing parameters.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + } + } +} \ No newline at end of file diff --git a/codegen/sdk/aws-models/elastic-beanstalk.json b/codegen/sdk/aws-models/elastic-beanstalk.json index a0246b80c71..1c3e55bf2b7 100644 --- a/codegen/sdk/aws-models/elastic-beanstalk.json +++ b/codegen/sdk/aws-models/elastic-beanstalk.json @@ -8380,6 +8380,54 @@ "DateUpdated": "2015-02-03T23:12:29.119Z", "DateCreated": "2015-02-03T23:04:54.453Z" } + }, + { + "title": "To configure option settings", + "documentation": "The following operation configures several options in the aws:elb:loadbalancer namespace:", + "input": { + "EnvironmentName": "my-env", + "OptionSettings": [ + { + "Namespace": "aws:elb:healthcheck", + "OptionName": "Interval", + "Value": "15" + }, + { + "Namespace": "aws:elb:healthcheck", + "OptionName": "Timeout", + "Value": "8" + }, + { + "Namespace": "aws:elb:healthcheck", + "OptionName": "HealthyThreshold", + "Value": "2" + }, + { + "Namespace": "aws:elb:healthcheck", + "OptionName": "UnhealthyThreshold", + "Value": "3" + } + ] + }, + "output": { + "ApplicationName": "my-app", + "EnvironmentName": "my-env", + "VersionLabel": "7f58-stage-150812_025409", + "Status": "Updating", + "EnvironmentId": "e-wtp2rpqsej", + "EndpointURL": "awseb-e-w-AWSEBLoa-14XB83101Q4L-104QXY80921.sa-east-1.elb.amazonaws.com", + "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8", + "CNAME": "my-env.elasticbeanstalk.com", + "Health": "Grey", + "AbortableOperationInProgress": true, + "Tier": { + "Version": " ", + "Type": "Standard", + "Name": "WebServer" + }, + "DateUpdated": "2015-08-12T18:15:23.804Z", + "DateCreated": "2015-08-07T20:48:49.599Z" + } } ] } diff --git a/codegen/sdk/aws-models/elastic-load-balancing.json b/codegen/sdk/aws-models/elastic-load-balancing.json index a246f7688e6..6f26eed42f4 100644 --- a/codegen/sdk/aws-models/elastic-load-balancing.json +++ b/codegen/sdk/aws-models/elastic-load-balancing.json @@ -937,6 +937,111 @@ "output": { "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com" } + }, + { + "title": "To create an HTTP load balancer in EC2-Classic", + "documentation": "This example creates a load balancer with an HTTP listener in EC2-Classic.", + "input": { + "LoadBalancerName": "my-load-balancer", + "Listeners": [ + { + "Protocol": "HTTP", + "LoadBalancerPort": 80, + "InstanceProtocol": "HTTP", + "InstancePort": 80 + } + ], + "AvailabilityZones": [ + "us-west-2a" + ] + }, + "output": { + "DNSName": "my-load-balancer-123456789.us-west-2.elb.amazonaws.com" + } + }, + { + "title": "To create an HTTPS load balancer in a VPC", + "documentation": "This example creates a load balancer with an HTTPS listener in a VPC.", + "input": { + "LoadBalancerName": "my-load-balancer", + "Listeners": [ + { + "Protocol": "HTTP", + "LoadBalancerPort": 80, + "InstanceProtocol": "HTTP", + "InstancePort": 80 + }, + { + "Protocol": "HTTPS", + "LoadBalancerPort": 443, + "InstanceProtocol": "HTTP", + "InstancePort": 80, + "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert" + } + ], + "Subnets": [ + "subnet-15aaab61" + ], + "SecurityGroups": [ + "sg-a61988c3" + ] + }, + "output": { + "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com" + } + }, + { + "title": "To create an HTTPS load balancer in EC2-Classic", + "documentation": "This example creates a load balancer with an HTTPS listener in EC2-Classic.", + "input": { + "LoadBalancerName": "my-load-balancer", + "Listeners": [ + { + "Protocol": "HTTP", + "LoadBalancerPort": 80, + "InstanceProtocol": "HTTP", + "InstancePort": 80 + }, + { + "Protocol": "HTTPS", + "LoadBalancerPort": 443, + "InstanceProtocol": "HTTP", + "InstancePort": 80, + "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert" + } + ], + "AvailabilityZones": [ + "us-west-2a" + ] + }, + "output": { + "DNSName": "my-load-balancer-123456789.us-west-2.elb.amazonaws.com" + } + }, + { + "title": "To create an internal load balancer", + "documentation": "This example creates an internal load balancer with an HTTP listener in a VPC.", + "input": { + "LoadBalancerName": "my-load-balancer", + "Listeners": [ + { + "Protocol": "HTTP", + "LoadBalancerPort": 80, + "InstanceProtocol": "HTTP", + "InstancePort": 80 + } + ], + "Subnets": [ + "subnet-15aaab61" + ], + "SecurityGroups": [ + "sg-a61988c3" + ], + "Scheme": "internal" + }, + "output": { + "DNSName": "internal-my-load-balancer-123456789.us-west-2.elb.amazonaws.com" + } } ] } @@ -1014,6 +1119,22 @@ } ] } + }, + { + "title": "To create an HTTPS listener for a load balancer", + "documentation": "This example creates a listener for your load balancer at port 443 using the HTTPS protocol.", + "input": { + "LoadBalancerName": "my-load-balancer", + "Listeners": [ + { + "Protocol": "HTTPS", + "LoadBalancerPort": 443, + "InstanceProtocol": "HTTP", + "InstancePort": 80, + "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert" + } + ] + } } ] } @@ -1060,6 +1181,36 @@ } ] } + }, + { + "title": "To create a public key policy", + "documentation": "This example creates a public key policy.", + "input": { + "LoadBalancerName": "my-load-balancer", + "PolicyName": "my-PublicKey-policy", + "PolicyTypeName": "PublicKeyPolicyType", + "PolicyAttributes": [ + { + "AttributeName": "PublicKey", + "AttributeValue": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwAYUjnfyEyXr1pxjhFWBpMlggUcqoi3kl+dS74kj//c6x7ROtusUaeQCTgIUkayttRDWchuqo1pHC1u+n5xxXnBBe2ejbb2WRsKIQ5rXEeixsjFpFsojpSQKkzhVGI6mJVZBJDVKSHmswnwLBdofLhzvllpovBPTHe+o4haAWvDBALJU0pkSI1FecPHcs2hwxf14zHoXy1e2k36A64nXW43wtfx5qcVSIxtCEOjnYRg7RPvybaGfQ+v6Iaxb/+7J5kEvZhTFQId+bSiJImF1FSUT1W1xwzBZPUbcUkkXDj45vC2s3Z8E+Lk7a3uZhvsQHLZnrfuWjBWGWvZ/MhZYgEXAMPLE" + } + ] + } + }, + { + "title": "To create a backend server authentication policy", + "documentation": "This example creates a backend server authentication policy that enables authentication on your backend instance using a public key policy.", + "input": { + "LoadBalancerName": "my-load-balancer", + "PolicyName": "my-authentication-policy", + "PolicyTypeName": "BackendServerAuthenticationPolicyType", + "PolicyAttributes": [ + { + "AttributeName": "PublicKeyPolicyName", + "AttributeValue": "my-PublicKey-policy" + } + ] + } } ] } @@ -4046,6 +4197,28 @@ } } } + }, + { + "title": "To enable connection draining", + "documentation": "This example enables connection draining for the specified load balancer.", + "input": { + "LoadBalancerName": "my-load-balancer", + "LoadBalancerAttributes": { + "ConnectionDraining": { + "Enabled": true, + "Timeout": 300 + } + } + }, + "output": { + "LoadBalancerName": "my-load-balancer", + "LoadBalancerAttributes": { + "ConnectionDraining": { + "Enabled": true, + "Timeout": 300 + } + } + } } ] } diff --git a/codegen/sdk/aws-models/launch-wizard.json b/codegen/sdk/aws-models/launch-wizard.json new file mode 100644 index 00000000000..be7ec639f3b --- /dev/null +++ b/codegen/sdk/aws-models/launch-wizard.json @@ -0,0 +1,2265 @@ +{ + "smithy": "2.0", + "shapes": { + "com.amazonaws.launchwizard#CreateDeployment": { + "type": "operation", + "input": { + "target": "com.amazonaws.launchwizard#CreateDeploymentInput" + }, + "output": { + "target": "com.amazonaws.launchwizard#CreateDeploymentOutput" + }, + "errors": [ + { + "target": "com.amazonaws.launchwizard#InternalServerException" + }, + { + "target": "com.amazonaws.launchwizard#ResourceLimitException" + }, + { + "target": "com.amazonaws.launchwizard#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.launchwizard#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a deployment for the given workload. Deployments created by this operation are\n not available in the Launch Wizard console to use the Clone deployment action\n on.

", + "smithy.api#examples": [ + { + "title": "Deploy a given workload with given settings.", + "input": { + "workloadName": "SAP", + "deploymentPatternName": "SapHanaSingle", + "name": "SapHanaSingleForTest", + "dryRun": false, + "specifications": { + "applicationName": "SapHanaSingleForTest", + "deploymentScenario": "SapHanaSingle", + "DisableDeploymentRollback": "true", + "saveDeploymentArtifacts": "Yes", + "saveArtifactsS3Uri": "s3://testbucket", + "KeyName": "testLinuxInstance", + "VPCID": "vpc-1234567", + "environmentType": "production", + "SAPTZ": "America/Vancouver", + "Encryption": "Yes" + } + }, + "output": { + "deploymentId": "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d" + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/createDeployment" + } + } + }, + "com.amazonaws.launchwizard#CreateDeploymentInput": { + "type": "structure", + "members": { + "workloadName": { + "target": "com.amazonaws.launchwizard#WorkloadName", + "traits": { + "smithy.api#documentation": "

The name of the workload. You can use the \n ListWorkloadDeploymentPatterns\n operation to discover supported\n values for this parameter.

", + "smithy.api#required": {} + } + }, + "deploymentPatternName": { + "target": "com.amazonaws.launchwizard#DeploymentPatternName", + "traits": { + "smithy.api#documentation": "

The name of the deployment pattern supported by a given workload. You can use the \n ListWorkloadDeploymentPatterns\n operation to discover supported\n values for this parameter.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.launchwizard#DeploymentName", + "traits": { + "smithy.api#documentation": "

The name of the deployment.

", + "smithy.api#required": {} + } + }, + "specifications": { + "target": "com.amazonaws.launchwizard#DeploymentSpecifications", + "traits": { + "smithy.api#documentation": "

The settings specified for the deployment. For more information on the specifications\n required for creating a deployment, see Workload specifications.

", + "smithy.api#required": {} + } + }, + "dryRun": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making\n the request, and provides an error response. If you have the required permissions, the\n error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.launchwizard#CreateDeploymentOutput": { + "type": "structure", + "members": { + "deploymentId": { + "target": "com.amazonaws.launchwizard#DeploymentId", + "traits": { + "smithy.api#documentation": "

The ID of the deployment.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.launchwizard#DeleteDeployment": { + "type": "operation", + "input": { + "target": "com.amazonaws.launchwizard#DeleteDeploymentInput" + }, + "output": { + "target": "com.amazonaws.launchwizard#DeleteDeploymentOutput" + }, + "errors": [ + { + "target": "com.amazonaws.launchwizard#InternalServerException" + }, + { + "target": "com.amazonaws.launchwizard#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.launchwizard#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes a deployment.

", + "smithy.api#examples": [ + { + "title": "Delete a deployment.", + "input": { + "deploymentId": "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d" + }, + "output": { + "status": "DELETED", + "statusReason": "Finished processing DeleteApp request" + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/deleteDeployment" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.launchwizard#DeleteDeploymentInput": { + "type": "structure", + "members": { + "deploymentId": { + "target": "com.amazonaws.launchwizard#DeploymentId", + "traits": { + "smithy.api#documentation": "

The ID of the deployment.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.launchwizard#DeleteDeploymentOutput": { + "type": "structure", + "members": { + "status": { + "target": "com.amazonaws.launchwizard#DeploymentStatus", + "traits": { + "smithy.api#documentation": "

The status of the deployment.

" + } + }, + "statusReason": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The reason for the deployment status.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.launchwizard#Deployment": { + "type": "resource", + "identifiers": { + "deploymentId": { + "target": "com.amazonaws.launchwizard#DeploymentId" + } + }, + "create": { + "target": "com.amazonaws.launchwizard#CreateDeployment" + }, + "read": { + "target": "com.amazonaws.launchwizard#GetDeployment" + }, + "delete": { + "target": "com.amazonaws.launchwizard#DeleteDeployment" + }, + "list": { + "target": "com.amazonaws.launchwizard#ListDeployments" + }, + "resources": [ + { + "target": "com.amazonaws.launchwizard#DeploymentEvent" + } + ] + }, + "com.amazonaws.launchwizard#DeploymentData": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the deployment.

" + } + }, + "id": { + "target": "com.amazonaws.launchwizard#DeploymentId", + "traits": { + "smithy.api#documentation": "

The ID of the deployment.

" + } + }, + "workloadName": { + "target": "com.amazonaws.launchwizard#WorkloadName", + "traits": { + "smithy.api#documentation": "

The name of the workload.

" + } + }, + "patternName": { + "target": "com.amazonaws.launchwizard#DeploymentPatternName", + "traits": { + "smithy.api#documentation": "

The pattern name of the deployment.

" + } + }, + "status": { + "target": "com.amazonaws.launchwizard#DeploymentStatus", + "traits": { + "smithy.api#documentation": "

The status of the deployment.

" + } + }, + "createdAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time the deployment was created.

" + } + }, + "specifications": { + "target": "com.amazonaws.launchwizard#DeploymentSpecifications", + "traits": { + "smithy.api#documentation": "

The specifications of the deployment. For more information on specifications for each\n deployment, see Workload specifications.

" + } + }, + "resourceGroup": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The resource group of the deployment.

" + } + }, + "deletedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time the deployment was deleted.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The data associated with a deployment.

" + } + }, + "com.amazonaws.launchwizard#DeploymentDataSummary": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the deployment

" + } + }, + "id": { + "target": "com.amazonaws.launchwizard#DeploymentId", + "traits": { + "smithy.api#documentation": "

The ID of the deployment.

" + } + }, + "workloadName": { + "target": "com.amazonaws.launchwizard#WorkloadName", + "traits": { + "smithy.api#documentation": "

The name of the workload.

" + } + }, + "patternName": { + "target": "com.amazonaws.launchwizard#DeploymentPatternName", + "traits": { + "smithy.api#documentation": "

The name of the workload deployment pattern.

" + } + }, + "status": { + "target": "com.amazonaws.launchwizard#DeploymentStatus", + "traits": { + "smithy.api#documentation": "

The status of the deployment.

" + } + }, + "createdAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time the deployment was created.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A summary of the deployment data.

" + } + }, + "com.amazonaws.launchwizard#DeploymentDataSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.launchwizard#DeploymentDataSummary" + } + }, + "com.amazonaws.launchwizard#DeploymentEvent": { + "type": "resource", + "identifiers": { + "deploymentId": { + "target": "com.amazonaws.launchwizard#DeploymentId" + }, + "eventId": { + "target": "com.amazonaws.launchwizard#EventId" + } + }, + "list": { + "target": "com.amazonaws.launchwizard#ListDeploymentEvents" + } + }, + "com.amazonaws.launchwizard#DeploymentEventDataSummary": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the deployment event.

" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of the deployment event.

" + } + }, + "status": { + "target": "com.amazonaws.launchwizard#EventStatus", + "traits": { + "smithy.api#documentation": "

The status of the deployment event.

" + } + }, + "statusReason": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The reason of the deployment event status.

" + } + }, + "timestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The timestamp of the deployment event.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A summary of the deployment event data.

" + } + }, + "com.amazonaws.launchwizard#DeploymentEventDataSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.launchwizard#DeploymentEventDataSummary" + } + }, + "com.amazonaws.launchwizard#DeploymentFilter": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.launchwizard#DeploymentFilterKey", + "traits": { + "smithy.api#documentation": "

The name of the filter. Filter names are case-sensitive.

" + } + }, + "values": { + "target": "com.amazonaws.launchwizard#DeploymentFilterValues", + "traits": { + "smithy.api#documentation": "

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

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A filter name and value pair that is used to return more specific results from a\n describe operation. Filters can be used to match a set of resources by specific\n criteria.

" + } + }, + "com.amazonaws.launchwizard#DeploymentFilterKey": { + "type": "enum", + "members": { + "WORKLOAD_NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WORKLOAD_NAME" + } + }, + "DEPLOYMENT_STATUS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPLOYMENT_STATUS" + } + } + } + }, + "com.amazonaws.launchwizard#DeploymentFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.launchwizard#DeploymentFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, + "com.amazonaws.launchwizard#DeploymentFilterValues": { + "type": "list", + "member": { + "target": "smithy.api#String", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + } + }, + "com.amazonaws.launchwizard#DeploymentId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 2, + "max": 128 + }, + "smithy.api#pattern": "^[a-zA-Z0-9-]+$" + } + }, + "com.amazonaws.launchwizard#DeploymentName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 25 + }, + "smithy.api#pattern": "^[A-Za-z0-9_\\s\\.-]+$" + } + }, + "com.amazonaws.launchwizard#DeploymentPatternName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[a-zA-Z0-9-]+$" + } + }, + "com.amazonaws.launchwizard#DeploymentSpecifications": { + "type": "map", + "key": { + "target": "com.amazonaws.launchwizard#KeyString" + }, + "value": { + "target": "com.amazonaws.launchwizard#ValueString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.launchwizard#DeploymentStatus": { + "type": "enum", + "members": { + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "DELETE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_IN_PROGRESS" + } + }, + "DELETE_INITIATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_INITIATING" + } + }, + "DELETE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_FAILED" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "VALIDATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VALIDATING" + } + } + } + }, + "com.amazonaws.launchwizard#EventId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 32 + } + } + }, + "com.amazonaws.launchwizard#EventStatus": { + "type": "enum", + "members": { + "CANCELED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELED" + } + }, + "CANCELING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELING" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "CREATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "TIMED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMED_OUT" + } + } + } + }, + "com.amazonaws.launchwizard#GetDeployment": { + "type": "operation", + "input": { + "target": "com.amazonaws.launchwizard#GetDeploymentInput" + }, + "output": { + "target": "com.amazonaws.launchwizard#GetDeploymentOutput" + }, + "errors": [ + { + "target": "com.amazonaws.launchwizard#InternalServerException" + }, + { + "target": "com.amazonaws.launchwizard#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.launchwizard#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns information about the deployment.

", + "smithy.api#examples": [ + { + "title": "Get details about a given deployment.", + "input": { + "deploymentId": "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d" + }, + "output": { + "deployment": { + "name": "SapHanaSingleForTest", + "id": "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d", + "workloadName": "SapHanaSingle", + "status": "FAILED", + "createdAt": "2023-04-24T13:10:09.857Z", + "specifications": { + "applicationName": "SapHanaSingleForTest", + "deploymentScenario": "SapHanaSingle", + "DisableDeploymentRollback": "true", + "saveDeploymentArtifacts": "Yes", + "saveArtifactsS3Uri": "s3://testbucket", + "KeyName": "testLinuxInstance", + "VPCID": "vpc-1234567", + "environmentType": "production", + "SAPTZ": "America/Vancouver", + "Encryption": "Yes" + } + } + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/getDeployment" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.launchwizard#GetDeploymentInput": { + "type": "structure", + "members": { + "deploymentId": { + "target": "com.amazonaws.launchwizard#DeploymentId", + "traits": { + "smithy.api#documentation": "

The ID of the deployment.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.launchwizard#GetDeploymentOutput": { + "type": "structure", + "members": { + "deployment": { + "target": "com.amazonaws.launchwizard#DeploymentData", + "traits": { + "smithy.api#documentation": "

An object that details the deployment.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.launchwizard#GetWorkload": { + "type": "operation", + "input": { + "target": "com.amazonaws.launchwizard#GetWorkloadInput" + }, + "output": { + "target": "com.amazonaws.launchwizard#GetWorkloadOutput" + }, + "errors": [ + { + "target": "com.amazonaws.launchwizard#InternalServerException" + }, + { + "target": "com.amazonaws.launchwizard#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.launchwizard#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns information about a workload.

", + "smithy.api#examples": [ + { + "title": "Get details about a specific workload.", + "input": { + "workloadName": "SAP" + }, + "output": { + "workload": { + "workloadName": "SAP", + "displayName": "SAP", + "description": "Workload Description", + "documentationUrl": "https://docs.aws.amazon.com/launchwizard/latest/userguide/launch-wizard-sap.html", + "iconUrl": "https://aws-lw-workload-assets-test-us-east-1.s3.amazonaws.com/amazon/SAP/icon.png?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEAUaCXVzLWVhc3QtMSJHMEUCIC4l3GCH4o%2Bgq3pJzcD1YJmtrmyNCoEgG2RIayjDWf9kAiEAnMK5nYixaZLuF1s1UVoNd7xIbDrOQ8EAbhcZWexMp9cq7wIIrf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAEGgw1ODI1NTgxMjEyMDYiDHxMN%2BZ8CoPORzvo4yrDAtkVZlBVxLwnFmwHw005vo13LOUUbyajEpp3HNh%2BaBL8K2DLx7Kzi0UPPD6z8pL1eiFLHAQ9zZgVc7pLVQjBKOdcw1GmIADDepqYEb%2B8zLi7zwWP1JT72YbT6ZXSoWpb5NCqcyAvdK47b0Ae586s6VkWzoeJ65jR%2FgbJMhRpFpqVSP2XI6Rf6yA3%2BkQyUCk3RdyF4ljIL8Nf5nIFb%2BOMK2PZ8aJX85l1j7UpJE1rfNb1PitVcQz3KlW5xkiXfcWRKeVhgHRyuCEL3FY0DyPFdqe3NxcA0%2FzPgBq6Y9B41kM6af5u2kQRfQOjWejDpzpG7w40eaIKAYnhBkjIA9550geSLB7O%2FuAPQLI9fI2lVowIBUKsKVOr0%2FFGIzW3WM7%2BbEx%2FZ0mDkP1IhcpZdP7owC77K8O%2BXDgBCabAy48K3ndi%2BQKQMPXjz6YGOp4Bbgv9mVc3sE4KvXZv1skhnOYcOKGdCncIKLne0W%2BgO3URxyDQiyO2FhM3OekXDH83CNCyDVIpkgpWkvgXDSaZiD5mj0T9iqEeJzfh6uQvX1dRN%2BxI1eV0M7HKY2e7F%2BKNjeLhzKgKpSpDqFIUSjLeBlLLyQCNKuUiO3DMiy3rB89aX4b9wyC8au0SfGb72YyNLXjh6M1whcj1VNGePyw%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20230809T202649Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=ASIAYPIZLPT3GGDNTHTI%2F20230809%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=6a37e41e47208b426a5e7d32392d0815388cd0231187652204836943c37ad86a", + "status": "ACTIVE" + } + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/getWorkload" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.launchwizard#GetWorkloadInput": { + "type": "structure", + "members": { + "workloadName": { + "target": "com.amazonaws.launchwizard#WorkloadName", + "traits": { + "smithy.api#documentation": "

The name of the workload.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.launchwizard#GetWorkloadOutput": { + "type": "structure", + "members": { + "workload": { + "target": "com.amazonaws.launchwizard#WorkloadData", + "traits": { + "smithy.api#documentation": "

Information about the workload.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.launchwizard#InternalServerException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "

An internal error has occurred. Retry your request, but if the problem persists, contact\n us with details by posting a question on re:Post.

", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.launchwizard#KeyString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 3, + "max": 256 + }, + "smithy.api#pattern": "^[a-zA-Z0-9-:]+$" + } + }, + "com.amazonaws.launchwizard#LaunchWizard": { + "type": "service", + "version": "2018-05-10", + "resources": [ + { + "target": "com.amazonaws.launchwizard#Deployment" + }, + { + "target": "com.amazonaws.launchwizard#SettingsSet" + }, + { + "target": "com.amazonaws.launchwizard#Workload" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "Launch Wizard", + "cloudFormationName": "LaunchWizard", + "arnNamespace": "launchwizard", + "endpointPrefix": "launchwizard", + "cloudTrailEventSource": "launchwizard.amazonaws.com" + }, + "aws.auth#sigv4": { + "name": "launchwizard" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "

Launch Wizard offers a guided way of sizing, configuring, and deploying Amazon Web Services resources for\n third party applications, such as Microsoft SQL Server Always On and HANA based SAP\n systems, without the need to manually identify and provision individual Amazon Web Services\n resources.

", + "smithy.api#title": "AWS Launch Wizard", + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://launchwizard-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + }, + true + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://launchwizard-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://launchwizard.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://launchwizard.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ], + "type": "tree" + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://launchwizard-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://launchwizard-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://launchwizard.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://launchwizard.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://launchwizard-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://launchwizard-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://launchwizard.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://launchwizard.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://launchwizard-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://launchwizard-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://launchwizard.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://launchwizard.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://launchwizard-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://launchwizard.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://launchwizard-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://launchwizard.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + } + ], + "version": "1.0" + } + } + }, + "com.amazonaws.launchwizard#ListDeploymentEvents": { + "type": "operation", + "input": { + "target": "com.amazonaws.launchwizard#ListDeploymentEventsInput" + }, + "output": { + "target": "com.amazonaws.launchwizard#ListDeploymentEventsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.launchwizard#InternalServerException" + }, + { + "target": "com.amazonaws.launchwizard#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.launchwizard#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the events of a deployment.

", + "smithy.api#examples": [ + { + "title": "List all actions taken during a deployment.", + "input": { + "deploymentId": "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d" + }, + "output": { + "deploymentEvents": [ + { + "name": "Create secure parameter", + "description": "Creates a new secure parameter", + "status": "COMPLETED", + "statusReason": "", + "timestamp": "2023-04-24T13:10:39.123Z" + }, + { + "name": "Create resource group", + "description": "Creates a resource group with all the application resources", + "status": "COMPLETED", + "statusReason": "", + "timestamp": "2023-04-24T13:10:42.238Z" + } + ] + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/listDeploymentEvents" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "deploymentEvents" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.launchwizard#ListDeploymentEventsInput": { + "type": "structure", + "members": { + "deploymentId": { + "target": "com.amazonaws.launchwizard#DeploymentId", + "traits": { + "smithy.api#documentation": "

The ID of the deployment.

", + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.launchwizard#MaxDeploymentEventResults", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "

The maximum number of items to return for this request. To get the next page of items,\n make another request with the token returned in the output.

" + } + }, + "nextToken": { + "target": "com.amazonaws.launchwizard#NextToken", + "traits": { + "smithy.api#documentation": "

The token returned from a previous paginated request. Pagination continues from the end\n of the items returned by the previous request.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.launchwizard#ListDeploymentEventsOutput": { + "type": "structure", + "members": { + "deploymentEvents": { + "target": "com.amazonaws.launchwizard#DeploymentEventDataSummaryList", + "traits": { + "smithy.api#documentation": "

Lists the deployment events.

" + } + }, + "nextToken": { + "target": "com.amazonaws.launchwizard#NextToken", + "traits": { + "smithy.api#documentation": "

The token to include in another request to get the next page of items. This value is\n null when there are no more items to return.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.launchwizard#ListDeployments": { + "type": "operation", + "input": { + "target": "com.amazonaws.launchwizard#ListDeploymentsInput" + }, + "output": { + "target": "com.amazonaws.launchwizard#ListDeploymentsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.launchwizard#InternalServerException" + }, + { + "target": "com.amazonaws.launchwizard#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the deployments that have been created.

", + "smithy.api#examples": [ + { + "title": "List deployments in the account with filters.", + "input": { + "filters": [ + { + "name": "DEPLOYMENT_STATUS", + "values": [ + "IN_PROGRESS" + ] + } + ] + }, + "output": { + "deployments": [ + { + "name": "SapHanaSingleForTest", + "id": "4c1b59c1-659c-467f-b6e9-6ef6f9d28e1d", + "workloadName": "SAP", + "patternName": "SapHanaSingle", + "status": "IN_PROGRESS", + "createdAt": "2023-04-24T13:10:09.857Z" + } + ] + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/listDeployments" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "deployments" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.launchwizard#ListDeploymentsInput": { + "type": "structure", + "members": { + "filters": { + "target": "com.amazonaws.launchwizard#DeploymentFilterList", + "traits": { + "smithy.api#documentation": "

Filters to scope the results. The following filters are supported:

\n " + } + }, + "maxResults": { + "target": "com.amazonaws.launchwizard#MaxDeploymentResults", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "

The maximum number of items to return for this request. To get the next page of items,\n make another request with the token returned in the output.

" + } + }, + "nextToken": { + "target": "com.amazonaws.launchwizard#NextToken", + "traits": { + "smithy.api#documentation": "

The token returned from a previous paginated request. Pagination continues from the end\n of the items returned by the previous request.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.launchwizard#ListDeploymentsOutput": { + "type": "structure", + "members": { + "deployments": { + "target": "com.amazonaws.launchwizard#DeploymentDataSummaryList", + "traits": { + "smithy.api#documentation": "

Lists the deployments.

" + } + }, + "nextToken": { + "target": "com.amazonaws.launchwizard#NextToken", + "traits": { + "smithy.api#documentation": "

The token to include in another request to get the next page of items. This value is\n null when there are no more items to return.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.launchwizard#ListWorkloadDeploymentPatterns": { + "type": "operation", + "input": { + "target": "com.amazonaws.launchwizard#ListWorkloadDeploymentPatternsInput" + }, + "output": { + "target": "com.amazonaws.launchwizard#ListWorkloadDeploymentPatternsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.launchwizard#InternalServerException" + }, + { + "target": "com.amazonaws.launchwizard#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.launchwizard#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the workload deployment patterns.

", + "smithy.api#examples": [ + { + "title": "List all available workloads supported by AWS Launch Wizard.", + "input": { + "workloadName": "SAP" + }, + "output": { + "workloadDeploymentPatterns": [ + { + "workloadName": "SAP", + "deploymentPatternName": "SapHanaHA", + "workloadVersionName": "2023-08-02-01-00-00", + "displayName": "Deployment Option Display Name", + "description": "Deployment Option Description", + "status": "ACTIVE" + }, + { + "workloadName": "SAP", + "deploymentPatternName": "SapHanaMulti", + "workloadVersionName": "2023-08-02-01-00-00", + "displayName": "Deployment Option Display Name", + "description": "Deployment Option Description", + "status": "ACTIVE" + } + ] + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/listWorkloadDeploymentPatterns" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "workloadDeploymentPatterns" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.launchwizard#ListWorkloadDeploymentPatternsInput": { + "type": "structure", + "members": { + "workloadName": { + "target": "com.amazonaws.launchwizard#WorkloadName", + "traits": { + "smithy.api#documentation": "

The name of the workload.

", + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.launchwizard#MaxWorkloadDeploymentPatternResults", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "

The maximum number of items to return for this request. To get the next page of items,\n make another request with the token returned in the output.

" + } + }, + "nextToken": { + "target": "com.amazonaws.launchwizard#NextToken", + "traits": { + "smithy.api#documentation": "

The token returned from a previous paginated request. Pagination continues from the end\n of the items returned by the previous request.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.launchwizard#ListWorkloadDeploymentPatternsOutput": { + "type": "structure", + "members": { + "workloadDeploymentPatterns": { + "target": "com.amazonaws.launchwizard#WorkloadDeploymentPatternDataSummaryList", + "traits": { + "smithy.api#documentation": "

Describes the workload deployment patterns.

" + } + }, + "nextToken": { + "target": "com.amazonaws.launchwizard#NextToken", + "traits": { + "smithy.api#documentation": "

The token to include in another request to get the next page of items. This value is\n null when there are no more items to return.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.launchwizard#ListWorkloads": { + "type": "operation", + "input": { + "target": "com.amazonaws.launchwizard#ListWorkloadsInput" + }, + "output": { + "target": "com.amazonaws.launchwizard#ListWorkloadsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.launchwizard#InternalServerException" + }, + { + "target": "com.amazonaws.launchwizard#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the workloads.

", + "smithy.api#examples": [ + { + "title": "List all available workloads supported by AWS Launch Wizard.", + "input": {}, + "output": { + "workloads": [ + { + "workloadName": "SAP", + "displayName": "SAP" + }, + { + "workloadName": "SQL", + "displayName": "MS SQL Server" + } + ] + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/listWorkloads" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "workloads" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.launchwizard#ListWorkloadsInput": { + "type": "structure", + "members": { + "maxResults": { + "target": "com.amazonaws.launchwizard#MaxWorkloadResults", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "

The maximum number of items to return for this request. To get the next page of items,\n make another request with the token returned in the output.

" + } + }, + "nextToken": { + "target": "com.amazonaws.launchwizard#NextToken", + "traits": { + "smithy.api#documentation": "

The token returned from a previous paginated request. Pagination continues from the end\n of the items returned by the previous request.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.launchwizard#ListWorkloadsOutput": { + "type": "structure", + "members": { + "workloads": { + "target": "com.amazonaws.launchwizard#WorkloadDataSummaryList", + "traits": { + "smithy.api#documentation": "

Information about the workloads.

" + } + }, + "nextToken": { + "target": "com.amazonaws.launchwizard#NextToken", + "traits": { + "smithy.api#documentation": "

The token to include in another request to get the next page of items. This value is\n null when there are no more items to return.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.launchwizard#MaxDeploymentEventResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.launchwizard#MaxDeploymentResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.launchwizard#MaxWorkloadDeploymentPatternResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.launchwizard#MaxWorkloadResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.launchwizard#NextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.launchwizard#ResourceLimitException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "

You have exceeded an Launch Wizard resource limit. For example, you might have too many\n deployments in progress.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.launchwizard#ResourceNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "

The specified workload or deployment resource can't be found.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.launchwizard#SettingsSet": { + "type": "resource", + "identifiers": { + "name": { + "target": "com.amazonaws.launchwizard#SettingsSetName" + } + } + }, + "com.amazonaws.launchwizard#SettingsSetName": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[a-zA-Z0-9-]{2,50}$" + } + }, + "com.amazonaws.launchwizard#ValidationException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "

The input fails to satisfy the constraints specified by an Amazon Web Services service.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.launchwizard#ValueString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1500 + } + } + }, + "com.amazonaws.launchwizard#Workload": { + "type": "resource", + "identifiers": { + "workloadName": { + "target": "com.amazonaws.launchwizard#WorkloadName" + } + }, + "read": { + "target": "com.amazonaws.launchwizard#GetWorkload" + }, + "list": { + "target": "com.amazonaws.launchwizard#ListWorkloads" + }, + "resources": [ + { + "target": "com.amazonaws.launchwizard#WorkloadDeploymentPattern" + } + ] + }, + "com.amazonaws.launchwizard#WorkloadData": { + "type": "structure", + "members": { + "workloadName": { + "target": "com.amazonaws.launchwizard#WorkloadName", + "traits": { + "smithy.api#documentation": "

The name of the workload.

" + } + }, + "displayName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The display name of a workload.

" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of a workload.

" + } + }, + "documentationUrl": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The URL of a workload document.

" + } + }, + "iconUrl": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The URL of a workload icon.

" + } + }, + "status": { + "target": "com.amazonaws.launchwizard#WorkloadStatus", + "traits": { + "smithy.api#documentation": "

The status of a workload.

" + } + }, + "statusMessage": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The message about a workload's status.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes a workload.

" + } + }, + "com.amazonaws.launchwizard#WorkloadDataSummary": { + "type": "structure", + "members": { + "workloadName": { + "target": "com.amazonaws.launchwizard#WorkloadName", + "traits": { + "smithy.api#documentation": "

The name of the workload.

" + } + }, + "displayName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The display name of the workload data.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes workload data.

" + } + }, + "com.amazonaws.launchwizard#WorkloadDataSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.launchwizard#WorkloadDataSummary" + } + }, + "com.amazonaws.launchwizard#WorkloadDeploymentPattern": { + "type": "resource", + "identifiers": { + "workloadName": { + "target": "com.amazonaws.launchwizard#WorkloadName" + }, + "deploymentPatternName": { + "target": "com.amazonaws.launchwizard#DeploymentPatternName" + } + }, + "list": { + "target": "com.amazonaws.launchwizard#ListWorkloadDeploymentPatterns" + } + }, + "com.amazonaws.launchwizard#WorkloadDeploymentPatternDataSummary": { + "type": "structure", + "members": { + "workloadName": { + "target": "com.amazonaws.launchwizard#WorkloadName", + "traits": { + "smithy.api#documentation": "

The name of the workload.

" + } + }, + "deploymentPatternName": { + "target": "com.amazonaws.launchwizard#DeploymentPatternName", + "traits": { + "smithy.api#documentation": "

The name of a workload deployment pattern.

" + } + }, + "workloadVersionName": { + "target": "com.amazonaws.launchwizard#WorkloadVersionName", + "traits": { + "smithy.api#documentation": "

The name of the workload deployment pattern version.

" + } + }, + "displayName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The display name of a workload deployment pattern.

" + } + }, + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description of a workload deployment pattern.

" + } + }, + "status": { + "target": "com.amazonaws.launchwizard#WorkloadDeploymentPatternStatus", + "traits": { + "smithy.api#documentation": "

The status of a workload deployment pattern.

" + } + }, + "statusMessage": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

A message about a workload deployment pattern's status.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes a workload deployment pattern.

" + } + }, + "com.amazonaws.launchwizard#WorkloadDeploymentPatternDataSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.launchwizard#WorkloadDeploymentPatternDataSummary" + } + }, + "com.amazonaws.launchwizard#WorkloadDeploymentPatternStatus": { + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "INACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INACTIVE" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + } + } + }, + "com.amazonaws.launchwizard#WorkloadName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[a-zA-Z0-9-]+$" + } + }, + "com.amazonaws.launchwizard#WorkloadStatus": { + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "INACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INACTIVE" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + } + } + }, + "com.amazonaws.launchwizard#WorkloadVersionName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 5, + "max": 30 + }, + "smithy.api#pattern": "^[a-zA-Z0-9-]+$" + } + } + } +} \ No newline at end of file diff --git a/codegen/sdk/aws-models/m2.json b/codegen/sdk/aws-models/m2.json index f490898c791..fc016a09140 100644 --- a/codegen/sdk/aws-models/m2.json +++ b/codegen/sdk/aws-models/m2.json @@ -1322,6 +1322,12 @@ "traits": { "smithy.api#documentation": "

A batch job identifier in which the batch job to run is identified by the script\n name.

" } + }, + "s3BatchJobIdentifier": { + "target": "com.amazonaws.m2#S3BatchJobIdentifier", + "traits": { + "smithy.api#documentation": "

Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.

" + } } }, "traits": { @@ -1369,7 +1375,7 @@ "smithy.api#documentation": "See https://www.ibm.com/docs/en/workload-automation/9.3.0?topic=zos-coding-variables-in-jcl\nto get details about limits for both keys and values:\n8 for keys (variable names), 44 for values (variable values)\nIn addition, keys will be only alphabetic characters and digits, without any space\nor special characters (dash, underscore, etc ...)\n\nParameter key: the first character must be alphabetic.\nCan be of up to 8 alphanumeric characters.", "smithy.api#length": { "min": 1, - "max": 8 + "max": 32 }, "smithy.api#pattern": "^[A-Za-z][A-Za-z0-9]{1,7}$" } @@ -1380,7 +1386,7 @@ "smithy.api#documentation": "Parameter value can be of up to 44 alphanumeric characters.", "smithy.api#length": { "min": 0, - "max": 44 + "max": 80 } } }, @@ -1921,7 +1927,7 @@ "preferredMaintenanceWindow": { "target": "com.amazonaws.m2#String50", "traits": { - "smithy.api#documentation": "

Configures the maintenance window you want for the runtime environment. If you do not\n provide a value, a random system-generated value will be assigned.

" + "smithy.api#documentation": "

Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:mi and must be less than 24 hours. The following two examples are valid maintenance windows: sun:23:45-mon:00:15 or sat:01:00-sat:03:00.

\n

If you do not provide a value, a random system-generated value will be assigned.

" } }, "clientToken": { @@ -2117,6 +2123,12 @@ "smithy.api#documentation": "

A summary of the data set import task.

", "smithy.api#required": {} } + }, + "statusReason": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

If dataset import failed, the failure reason will show here.

" + } } }, "traits": { @@ -2189,6 +2201,10 @@ { "value": "Completed", "name": "COMPLETED" + }, + { + "value": "Failed", + "name": "FAILED" } ] } @@ -2502,6 +2518,10 @@ { "value": "Failed", "name": "FAILED" + }, + { + "value": "Updating Deployment", + "name": "DEPLOY_UPDATE" } ] } @@ -2797,6 +2817,23 @@ "target": "com.amazonaws.m2#EnvironmentSummary" } }, + "com.amazonaws.m2#ExecutionTimeoutException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Failed to connect to server, or didn’t receive response within expected time period.

", + "smithy.api#error": "server", + "smithy.api#httpError": 504, + "smithy.api#retryable": {} + } + }, "com.amazonaws.m2#ExternalLocation": { "type": "union", "members": { @@ -3359,12 +3396,21 @@ { "target": "com.amazonaws.m2#AccessDeniedException" }, + { + "target": "com.amazonaws.m2#ConflictException" + }, + { + "target": "com.amazonaws.m2#ExecutionTimeoutException" + }, { "target": "com.amazonaws.m2#InternalServerException" }, { "target": "com.amazonaws.m2#ResourceNotFoundException" }, + { + "target": "com.amazonaws.m2#ServiceUnavailableException" + }, { "target": "com.amazonaws.m2#ThrottlingException" }, @@ -3460,6 +3506,13 @@ "traits": { "smithy.api#documentation": "

The last time the data set was referenced.

" } + }, + "fileSize": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "

File size of the dataset.

" + } } }, "traits": { @@ -3821,7 +3874,7 @@ "actualCapacity": { "target": "com.amazonaws.m2#CapacityValue", "traits": { - "smithy.api#documentation": "

The number of instances included in the runtime environment. A standalone runtime\n environment has a maxiumum of one instance. Currently, a high availability runtime\n environment has a maximum of two instances.

" + "smithy.api#documentation": "

The number of instances included in the runtime environment. A standalone runtime\n environment has a maximum of one instance. Currently, a high availability runtime\n environment has a maximum of two instances.

" } }, "loadBalancerArn": { @@ -3839,7 +3892,7 @@ "preferredMaintenanceWindow": { "target": "com.amazonaws.m2#String50", "traits": { - "smithy.api#documentation": "

Configures the maintenance window you want for the runtime environment. If you do not\n provide a value, a random system-generated value will be assigned.

" + "smithy.api#documentation": "

The maintenance window for the runtime environment. If you don't\n provide a value for the maintenance window, the service assigns a random value.

" } }, "pendingMaintenance": { @@ -3966,6 +4019,26 @@ "smithy.api#retryable": {} } }, + "com.amazonaws.m2#JobIdentifier": { + "type": "union", + "members": { + "fileName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the file that contains the batch job definition.

" + } + }, + "scriptName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the script that contains the batch job definition.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Identifies a specific batch job.

" + } + }, "com.amazonaws.m2#ListApplicationVersions": { "type": "operation", "input": { @@ -4492,12 +4565,21 @@ { "target": "com.amazonaws.m2#AccessDeniedException" }, + { + "target": "com.amazonaws.m2#ConflictException" + }, + { + "target": "com.amazonaws.m2#ExecutionTimeoutException" + }, { "target": "com.amazonaws.m2#InternalServerException" }, { "target": "com.amazonaws.m2#ResourceNotFoundException" }, + { + "target": "com.amazonaws.m2#ServiceUnavailableException" + }, { "target": "com.amazonaws.m2#ThrottlingException" }, @@ -4554,6 +4636,13 @@ "smithy.api#documentation": "

The prefix of the data set name, which you can use to filter the list of data\n sets.

", "smithy.api#httpQuery": "prefix" } + }, + "nameFilter": { + "target": "com.amazonaws.m2#String200", + "traits": { + "smithy.api#documentation": "

Filter dataset name matching the specified pattern. Can use * and % as wild cards.

", + "smithy.api#httpQuery": "nameFilter" + } } }, "traits": { @@ -5194,6 +5283,34 @@ "smithy.api#httpError": 404 } }, + "com.amazonaws.m2#S3BatchJobIdentifier": { + "type": "structure", + "members": { + "bucket": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Amazon S3 bucket that contains the batch job definitions.

", + "smithy.api#required": {} + } + }, + "keyPrefix": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The key prefix that specifies the path to the folder in the S3 bucket that has the batch job definitions.

" + } + }, + "identifier": { + "target": "com.amazonaws.m2#JobIdentifier", + "traits": { + "smithy.api#documentation": "

Identifies the batch job definition. This identifier can also point to any batch job definition that already exists in the application or to one of the batch job definitions within the directory that is specified in keyPrefix.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

A batch job identifier in which the batch jobs to run are identified by an Amazon S3 location.

" + } + }, "com.amazonaws.m2#ScriptBatchJobDefinition": { "type": "structure", "members": { @@ -5264,6 +5381,23 @@ "smithy.api#httpError": 402 } }, + "com.amazonaws.m2#ServiceUnavailableException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Server cannot process the request at the moment.

", + "smithy.api#error": "server", + "smithy.api#httpError": 503, + "smithy.api#retryable": {} + } + }, "com.amazonaws.m2#StartApplication": { "type": "operation", "input": { @@ -5664,7 +5798,7 @@ "quotaCode": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

The identifier of the throttled reuqest.

" + "smithy.api#documentation": "

The identifier of the throttled request.

" } }, "retryAfterSeconds": { @@ -5911,7 +6045,7 @@ "preferredMaintenanceWindow": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

Configures the maintenance window you want for the runtime environment. If you do not\n provide a value, a random system-generated value will be assigned.

" + "smithy.api#documentation": "

Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:mi and must be less than 24 hours. The following two examples are valid maintenance windows: sun:23:45-mon:00:15 or sat:01:00-sat:03:00.

\n

If you do not provide a value, a random system-generated value will be assigned.

" } }, "applyDuringMaintenanceWindow": { @@ -5920,6 +6054,13 @@ "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to update the runtime environment during the maintenance window. The\n default is false. Currently, Amazon Web Services Mainframe Modernization accepts the engineVersion parameter\n only if applyDuringMaintenanceWindow is true. If any parameter other than\n engineVersion is provided in UpdateEnvironmentRequest, it will\n fail if applyDuringMaintenanceWindow is set to true.

" } + }, + "forceUpdate": { + "target": "com.amazonaws.m2#Boolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

Forces the updates on the environment. This option is needed if the applications in the environment are not stopped or if there are ongoing application-related activities in the environment.

\n

If you use this option, be aware that it could lead to data corruption in the applications, and that you might need to perform repair and recovery procedures for the applications.

\n

This option is not needed if the attribute being updated is preferredMaintenanceWindow.

" + } } } }, diff --git a/codegen/sdk/aws-models/mgn.json b/codegen/sdk/aws-models/mgn.json index 8ae74650213..2e10d0a41c4 100644 --- a/codegen/sdk/aws-models/mgn.json +++ b/codegen/sdk/aws-models/mgn.json @@ -69,6 +69,10 @@ "value": "OBSERVABILITY", "name": "OBSERVABILITY" }, + { + "value": "REFACTORING", + "name": "REFACTORING" + }, { "value": "SECURITY", "name": "SECURITY" @@ -1627,6 +1631,10 @@ { "name": "UEFI", "value": "UEFI" + }, + { + "name": "USE_SOURCE", + "value": "USE_SOURCE" } ] } @@ -9732,7 +9740,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates multiple LaunchConfigurations by Source Server ID.

", + "smithy.api#documentation": "

Updates multiple LaunchConfigurations by Source Server ID.

\n \n

bootMode valid values are LEGACY_BIOS | UEFI\n

\n
", "smithy.api#http": { "uri": "/UpdateLaunchConfiguration", "method": "POST", diff --git a/codegen/sdk/aws-models/neptune.json b/codegen/sdk/aws-models/neptune.json index 67f5e676206..e6af4041ea4 100644 --- a/codegen/sdk/aws-models/neptune.json +++ b/codegen/sdk/aws-models/neptune.json @@ -1442,17 +1442,6 @@ "expect": { "error": "Invalid Configuration: Missing Region" } - }, - { - "documentation": "Partition doesn't support DualStack", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } } ], "version": "1.0" diff --git a/codegen/sdk/aws-models/neptunedata.json b/codegen/sdk/aws-models/neptunedata.json index 11449f4de0e..50f74535e71 100644 --- a/codegen/sdk/aws-models/neptunedata.json +++ b/codegen/sdk/aws-models/neptunedata.json @@ -1534,8 +1534,7 @@ "traits": { "smithy.api#documentation": "

Raised when a user cancelled a request.

", "smithy.api#error": "server", - "smithy.api#httpError": 500, - "smithy.api#retryable": {} + "smithy.api#httpError": 500 } }, "com.amazonaws.neptunedata#Classes": { @@ -2730,7 +2729,7 @@ } ], "traits": { - "smithy.api#documentation": "

Executes an openCypher explain request. See\n The\n openCypher explain feature for more information.

\n

When invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:ReadDataViaQuery\n IAM action in that cluster.

\n

Note that the neptune-db:QueryLanguage:Opencypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).

", + "smithy.api#documentation": "

Executes an openCypher explain request. See\n The\n openCypher explain feature for more information.

\n

When invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:ReadDataViaQuery\n IAM action in that cluster.

\n

Note that the neptune-db:QueryLanguage:OpenCypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).

", "smithy.api#http": { "method": "POST", "uri": "/opencypher/explain", @@ -2859,7 +2858,7 @@ } ], "traits": { - "smithy.api#documentation": "

Executes an openCypher query. See Accessing\n the Neptune Graph with openCypher for more information.

\n

Neptune supports building graph applications using openCypher,\n which is currently one of the most popular query languages among\n developers working with graph databases. Developers, business analysts,\n and data scientists like openCypher's declarative, SQL-inspired syntax\n because it provides a familiar structure in which to querying property\n graphs.

\n

The openCypher language was originally developed by Neo4j, then\n open-sourced in 2015 and contributed to the openCypher project under an Apache\n 2 open-source license.

\n

Note that when invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows one of the following IAM actions\n in that cluster, depending on the query:

\n \n

Note also that the neptune-db:QueryLanguage:Opencypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).

", + "smithy.api#documentation": "

Executes an openCypher query. See Accessing\n the Neptune Graph with openCypher for more information.

\n

Neptune supports building graph applications using openCypher,\n which is currently one of the most popular query languages among\n developers working with graph databases. Developers, business analysts,\n and data scientists like openCypher's declarative, SQL-inspired syntax\n because it provides a familiar structure in which to querying property\n graphs.

\n

The openCypher language was originally developed by Neo4j, then\n open-sourced in 2015 and contributed to the openCypher project under an Apache\n 2 open-source license.

\n

Note that when invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows one of the following IAM actions\n in that cluster, depending on the query:

\n \n

Note also that the neptune-db:QueryLanguage:OpenCypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).

", "smithy.api#http": { "method": "POST", "uri": "/opencypher", @@ -3893,7 +3892,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves the status of a specified openCypher query.

\n

When invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:GetQueryStatus\n IAM action in that cluster.

\n

Note that the neptune-db:QueryLanguage:Opencypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).

", + "smithy.api#documentation": "

Retrieves the status of a specified openCypher query.

\n

When invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:GetQueryStatus\n IAM action in that cluster.

\n

Note that the neptune-db:QueryLanguage:OpenCypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).

", "smithy.api#http": { "method": "GET", "uri": "/opencypher/status/{queryId}", @@ -4072,7 +4071,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets a stream for a property graph.

\n

With the Neptune Streams feature, you can generate a complete\n sequence of change-log entries that record every change made to your\n graph data as it happens. GetPropertygraphStream lets\n you collect these change-log entries for a property graph.

\n

The Neptune streams feature needs to be enabled on your Neptune\n DBcluster. To enable streams, set the neptune_streams\n DB cluster parameter to 1.

\n

See Capturing\n graph changes in real time using Neptune streams.

\n

When invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:GetStreamRecords\n IAM action in that cluster.

\n

When invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that enables one of the following IAM actions,\n depending on the query:

\n

Note that you can restrict property-graph queries using the\n following IAM context keys:

\n \n

See Condition\n keys available in Neptune IAM data-access policy statements).

", + "smithy.api#documentation": "

Gets a stream for a property graph.

\n

With the Neptune Streams feature, you can generate a complete\n sequence of change-log entries that record every change made to your\n graph data as it happens. GetPropertygraphStream lets\n you collect these change-log entries for a property graph.

\n

The Neptune streams feature needs to be enabled on your Neptune\n DBcluster. To enable streams, set the neptune_streams\n DB cluster parameter to 1.

\n

See Capturing\n graph changes in real time using Neptune streams.

\n

When invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:GetStreamRecords\n IAM action in that cluster.

\n

When invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that enables one of the following IAM actions,\n depending on the query:

\n

Note that you can restrict property-graph queries using the\n following IAM context keys:

\n \n

See Condition\n keys available in Neptune IAM data-access policy statements).

", "smithy.api#http": { "method": "GET", "uri": "/propertygraph/stream", @@ -5498,7 +5497,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists active openCypher queries. See Neptune\n openCypher status endpoint for more information.

\n

When invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:GetQueryStatus\n IAM action in that cluster.

\n

Note that the neptune-db:QueryLanguage:Opencypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).

", + "smithy.api#documentation": "

Lists active openCypher queries. See Neptune\n openCypher status endpoint for more information.

\n

When invoking this operation in a Neptune cluster that has IAM\n authentication enabled, the IAM user or role making the request must\n have a policy attached that allows the neptune-db:GetQueryStatus\n IAM action in that cluster.

\n

Note that the neptune-db:QueryLanguage:OpenCypher\n IAM condition key can be used in the policy document to restrict the use of\n openCypher queries (see Condition\n keys available in Neptune IAM data-access policy statements).

", "smithy.api#http": { "method": "GET", "uri": "/opencypher/status", @@ -7065,7 +7064,7 @@ "format": { "target": "com.amazonaws.neptunedata#Format", "traits": { - "smithy.api#documentation": "

The format of the data. For more information about data formats for the Neptune\n Loader command, see Load Data Formats.

\n

\n Allowed values\n

\n ", + "smithy.api#documentation": "

The format of the data. For more information about data formats for the Neptune\n Loader command, see Load Data Formats.

\n

\n Allowed values\n

\n ", "smithy.api#required": {} } }, @@ -7087,7 +7086,7 @@ "mode": { "target": "com.amazonaws.neptunedata#Mode", "traits": { - "smithy.api#documentation": "

The load job mode.

\n

\n Allowed values: RESUME, NEW,\n AUTO.

\n

\n Default value: AUTO.

\n

\n \n

\n " + "smithy.api#documentation": "

The load job mode.

\n

\n Allowed values: RESUME, NEW,\n AUTO.

\n

\n Default value: AUTO.

\n

\n \n

\n " } }, "failOnError": { @@ -7099,25 +7098,25 @@ "parallelism": { "target": "com.amazonaws.neptunedata#Parallelism", "traits": { - "smithy.api#documentation": "

The optional parallelism parameter can be set\n to reduce the number of threads used by the bulk load process.

\n

\n Allowed values:

\n \n

\n Default value: HIGH\n

\n

The parallelism setting can sometimes result in a deadlock\n between threads when loading openCypher data. When this happens, Neptune returns the\n LOAD_DATA_DEADLOCK error. You can generally fix the issue by setting\n parallelism to a lower setting and retrying the load command.

" + "smithy.api#documentation": "

The optional parallelism parameter can be set\n to reduce the number of threads used by the bulk load process.

\n

\n Allowed values:

\n \n

\n Default value: HIGH\n

\n

The parallelism setting can sometimes result in a deadlock\n between threads when loading openCypher data. When this happens, Neptune returns the\n LOAD_DATA_DEADLOCK error. You can generally fix the issue by setting\n parallelism to a lower setting and retrying the load command.

" } }, "parserConfiguration": { "target": "com.amazonaws.neptunedata#StringValuedMap", "traits": { - "smithy.api#documentation": "

\n \n parserConfiguration\n  \n –   An optional object with additional parser configuration values.\n Each of the child parameters is also optional:

\n

\n \n

\n
    \n
  • \n

    \n \n namedGraphUri\n   –  \n The default graph for all RDF formats when no graph is specified (for non-quads\n formats and NQUAD entries with no graph).

    \n

    The default is https://aws.amazon.com/neptune/vocab/v01/DefaultNamedGraph.

    \n
  • \n
  • \n

    \n \n baseUri\n   –  \n The base URI for RDF/XML and Turtle formats.

    \n

    The default is https://aws.amazon.com/neptune/default.

    \n
  • \n
  • \n

    \n \n allowEmptyStrings\n   –  \n Gremlin users need to be able to pass empty string values(\"\") as node\n and edge properties when loading CSV data. If allowEmptyStrings\n is set to false (the default), such empty strings are treated\n as nulls and are not loaded.

    \n

    If allowEmptyStrings is set to true,\n the loader treats empty strings as valid property values and loads\n them accordingly.

    \n
  • \n
" + "smithy.api#documentation": "

\n \n parserConfiguration\n  \n –   An optional object with additional parser configuration values.\n Each of the child parameters is also optional:

\n

\n \n

\n
    \n
  • \n

    \n \n namedGraphUri\n   –  \n The default graph for all RDF formats when no graph is specified (for non-quads\n formats and NQUAD entries with no graph).

    \n

    The default is https://aws.amazon.com/neptune/vocab/v01/DefaultNamedGraph.

    \n
  • \n
  • \n

    \n \n baseUri\n   –  \n The base URI for RDF/XML and Turtle formats.

    \n

    The default is https://aws.amazon.com/neptune/default.

    \n
  • \n
  • \n

    \n \n allowEmptyStrings\n   –  \n Gremlin users need to be able to pass empty string values(\"\") as node\n and edge properties when loading CSV data. If allowEmptyStrings\n is set to false (the default), such empty strings are treated\n as nulls and are not loaded.

    \n

    If allowEmptyStrings is set to true,\n the loader treats empty strings as valid property values and loads\n them accordingly.

    \n
  • \n
" } }, "updateSingleCardinalityProperties": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

\n updateSingleCardinalityProperties\n is an optional parameter that controls how the bulk loader treats a new\n value for single-cardinality vertex or edge properties. This is not supported for\n loading openCypher data.

\n

\n Allowed values: \"TRUE\", \"FALSE\".

\n

\n Default value: \"FALSE\".

\n

By default, or when updateSingleCardinalityProperties is explicitly\n set to \"FALSE\", the loader treats a new value as an error, because it\n violates single cardinality.

\n

When updateSingleCardinalityProperties is set to \"TRUE\",\n on the other hand, the bulk loader replaces the existing value with the new one.\n If multiple edge or single-cardinality vertex property values are provided in the\n source file(s) being loaded, the final value at the end of the bulk load could be\n any one of those new values. The loader only guarantees that the existing value\n has been replaced by one of the new ones.

" + "smithy.api#documentation": "

\n updateSingleCardinalityProperties\n is an optional parameter that controls how the bulk loader treats a new\n value for single-cardinality vertex or edge properties. This is not supported for\n loading openCypher data.

\n

\n Allowed values: \"TRUE\", \"FALSE\".

\n

\n Default value: \"FALSE\".

\n

By default, or when updateSingleCardinalityProperties is explicitly\n set to \"FALSE\", the loader treats a new value as an error, because it\n violates single cardinality.

\n

When updateSingleCardinalityProperties is set to \"TRUE\",\n on the other hand, the bulk loader replaces the existing value with the new one.\n If multiple edge or single-cardinality vertex property values are provided in the\n source file(s) being loaded, the final value at the end of the bulk load could be\n any one of those new values. The loader only guarantees that the existing value\n has been replaced by one of the new ones.

" } }, "queueRequest": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

This is an optional flag parameter\n that indicates whether the load request can be queued up or not.

\n

You don't have to wait for one load job to complete before issuing the next one,\n because Neptune can queue up as many as 64 jobs at a time, provided that their\n queueRequest parameters are all set to \"TRUE\".

\n

If the queueRequest parameter is omitted or set to \"FALSE\",\n the load request will fail if another load job is already running.

\n

\n Allowed values: \"TRUE\", \"FALSE\".

\n

\n Default value: \"FALSE\".

" + "smithy.api#documentation": "

This is an optional flag parameter\n that indicates whether the load request can be queued up or not.

\n

You don't have to wait for one load job to complete before issuing the next one,\n because Neptune can queue up as many as 64 jobs at a time, provided that their\n queueRequest parameters are all set to \"TRUE\".\n The queue order of the jobs will be first-in-first-out (FIFO).

\n

If the queueRequest parameter is omitted or set to \"FALSE\",\n the load request will fail if another load job is already running.

\n

\n Allowed values: \"TRUE\", \"FALSE\".

\n

\n Default value: \"FALSE\".

" } }, "dependencies": { @@ -7129,7 +7128,7 @@ "userProvidedEdgeIds": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

This parameter is required only when loading openCypher data that contains relationship\n IDs. It must be included and set to True when openCypher relationship IDs\n are explicitly provided in the load data (recommended).

\n

When userProvidedEdgeIds is absent or set to True,\n an :ID column must be present in every relationship file in the load.

\n

When userProvidedEdgeIds is present and set to False,\n relationship files in the load must not contain an\n :ID column. Instead, the Neptune loader automatically generates an\n ID for each relationship.

\n

It's useful to provide relationship IDs explicitly so that the loader can resume\n loading after error in the CSV data have been fixed, without having to reload any\n relationships that have already been loaded. If relationship IDs have not been\n explicitly assigned, the loader cannot resume a failed load if any relationship file\n has had to be corrected, and must instead reload all the relationships.

" + "smithy.api#documentation": "

This parameter is required only when loading openCypher data that contains relationship\n IDs. It must be included and set to True when openCypher relationship IDs\n are explicitly provided in the load data (recommended).

\n

When userProvidedEdgeIds is absent or set to True,\n an :ID column must be present in every relationship file in the load.

\n

When userProvidedEdgeIds is present and set to False,\n relationship files in the load must not contain an\n :ID column. Instead, the Neptune loader automatically generates an\n ID for each relationship.

\n

It's useful to provide relationship IDs explicitly so that the loader can resume\n loading after error in the CSV data have been fixed, without having to reload any\n relationships that have already been loaded. If relationship IDs have not been\n explicitly assigned, the loader cannot resume a failed load if any relationship file\n has had to be corrected, and must instead reload all the relationships.

" } } }, diff --git a/codegen/sdk/aws-models/network-firewall.json b/codegen/sdk/aws-models/network-firewall.json index 94d09151061..631dc3cea19 100644 --- a/codegen/sdk/aws-models/network-firewall.json +++ b/codegen/sdk/aws-models/network-firewall.json @@ -84,6 +84,38 @@ "target": "com.amazonaws.networkfirewall#Address" } }, + "com.amazonaws.networkfirewall#AnalysisResult": { + "type": "structure", + "members": { + "IdentifiedRuleIds": { + "target": "com.amazonaws.networkfirewall#RuleIdList", + "traits": { + "smithy.api#documentation": "

The priority number of the stateless rules identified in the analysis.

" + } + }, + "IdentifiedType": { + "target": "com.amazonaws.networkfirewall#IdentifiedType", + "traits": { + "smithy.api#documentation": "

The types of rule configurations that Network Firewall analyzes your rule groups for. Network Firewall analyzes stateless rule groups for the following types of rule configurations:

\n
    \n
  • \n

    \n STATELESS_RULE_FORWARDING_ASYMMETRICALLY\n

    \n

    Cause: One or more stateless rules with the action pass or forward are forwarding traffic asymmetrically. Specifically, the rule's set of source IP addresses or their associated port numbers, don't match the set of destination IP addresses or their associated port numbers.

    \n

    To mitigate: Make sure that there's an existing return path. For example, if the rule allows traffic from source 10.1.0.0/24 to destination 20.1.0.0/24, you should allow return traffic from source 20.1.0.0/24 to destination 10.1.0.0/24.

    \n
  • \n
  • \n

    \n STATELESS_RULE_CONTAINS_TCP_FLAGS\n

    \n

    Cause: At least one stateless rule with the action pass orforward contains TCP flags that are inconsistent in the forward and return directions.

    \n

    To mitigate: Prevent asymmetric routing issues caused by TCP flags by following these actions:

    \n
      \n
    • \n

      Remove unnecessary TCP flag inspections from the rules.

      \n
    • \n
    • \n

      If you need to inspect TCP flags, check that the rules correctly account for changes in TCP flags throughout the TCP connection cycle, for example SYN and ACK flags used in a 3-way TCP handshake.

      \n
    • \n
    \n
  • \n
" + } + }, + "AnalysisDetail": { + "target": "com.amazonaws.networkfirewall#CollectionMember_String", + "traits": { + "smithy.api#documentation": "

Provides analysis details for the identified rule.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The analysis result for Network Firewall's stateless rule group analyzer. Every time you call CreateRuleGroup, UpdateRuleGroup, or DescribeRuleGroup on a stateless rule group, Network Firewall analyzes the stateless rule groups in your account and identifies the rules that might adversely effect your firewall's functionality. For example, if Network Firewall detects a rule that's routing traffic asymmetrically, which impacts the service's ability to properly process traffic, the service includes the rule in a list of analysis results.

" + } + }, + "com.amazonaws.networkfirewall#AnalysisResultList": { + "type": "list", + "member": { + "target": "com.amazonaws.networkfirewall#AnalysisResult" + } + }, "com.amazonaws.networkfirewall#AssociateFirewallPolicy": { "type": "operation", "input": { @@ -434,6 +466,26 @@ "target": "com.amazonaws.networkfirewall#TlsCertificateData" } }, + "com.amazonaws.networkfirewall#CheckCertificateRevocationStatusActions": { + "type": "structure", + "members": { + "RevokedStatusAction": { + "target": "com.amazonaws.networkfirewall#RevocationCheckAction", + "traits": { + "smithy.api#documentation": "

Configures how Network Firewall processes traffic when it determines that the certificate presented by the server in the SSL/TLS connection has a revoked status.

\n
    \n
  • \n

    \n PASS - Allow the connection to continue, and pass subsequent packets to the stateful engine for inspection.

    \n
  • \n
  • \n

    \n DROP - Network Firewall closes the connection and drops subsequent packets for that connection.

    \n
  • \n
  • \n

    \n REJECT - Network Firewall sends a TCP reject packet back to your client. The service closes the connection and drops subsequent packets for that connection. REJECT is available only for TCP traffic.

    \n
  • \n
" + } + }, + "UnknownStatusAction": { + "target": "com.amazonaws.networkfirewall#RevocationCheckAction", + "traits": { + "smithy.api#documentation": "

Configures how Network Firewall processes traffic when it determines that the certificate presented by the server in the SSL/TLS connection has an unknown status, or a status that cannot be determined for any other reason, including when the service is unable to connect to the OCSP and CRL endpoints for the certificate.

\n
    \n
  • \n

    \n PASS - Allow the connection to continue, and pass subsequent packets to the stateful engine for inspection.

    \n
  • \n
  • \n

    \n DROP - Network Firewall closes the connection and drops subsequent packets for that connection.

    \n
  • \n
  • \n

    \n REJECT - Network Firewall sends a TCP reject packet back to your client. The service closes the connection and drops subsequent packets for that connection. REJECT is available only for TCP traffic.

    \n
  • \n
" + } + } + }, + "traits": { + "smithy.api#documentation": "

Defines the actions to take on the SSL/TLS connection if the certificate presented by the server in the connection has a revoked or unknown status.

" + } + }, "com.amazonaws.networkfirewall#CollectionMember_String": { "type": "string" }, @@ -780,6 +832,13 @@ "traits": { "smithy.api#documentation": "

A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to keep track of updates made to the originating rule group.

" } + }, + "AnalyzeRuleGroup": { + "target": "com.amazonaws.networkfirewall#Boolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

Indicates whether you want Network Firewall to analyze the stateless rules in the rule group for rule behavior such as asymmetric routing. If set to TRUE, Network Firewall runs the analysis and then creates the rule group for you. To run the stateless rule group analyzer without creating the rule group, set DryRun to TRUE.

" + } } }, "traits": { @@ -834,7 +893,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an Network Firewall TLS inspection configuration. A TLS inspection configuration contains the Certificate Manager certificate references that Network Firewall uses to decrypt and re-encrypt inbound traffic.

\n

After you create a TLS inspection configuration, you associate it with a new firewall policy.

\n

To update the settings for a TLS inspection configuration, use UpdateTLSInspectionConfiguration.

\n

To manage a TLS inspection configuration's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource.

\n

To retrieve information about TLS inspection configurations, use ListTLSInspectionConfigurations and DescribeTLSInspectionConfiguration.

\n

\n For more information about TLS inspection configurations, see Decrypting SSL/TLS traffic with TLS\ninspection configurations in the Network Firewall Developer Guide.\n

" + "smithy.api#documentation": "

Creates an Network Firewall TLS inspection configuration. A TLS inspection configuration contains Certificate Manager certificate associations between and the scope configurations that Network Firewall uses to decrypt and re-encrypt traffic traveling through your firewall.

\n

After you create a TLS inspection configuration, you can associate it with a new firewall policy.

\n

To update the settings for a TLS inspection configuration, use UpdateTLSInspectionConfiguration.

\n

To manage a TLS inspection configuration's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource.

\n

To retrieve information about TLS inspection configurations, use ListTLSInspectionConfigurations and DescribeTLSInspectionConfiguration.

\n

\n For more information about TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS\ninspection configurations in the Network Firewall Developer Guide.\n

" } }, "com.amazonaws.networkfirewall#CreateTLSInspectionConfigurationRequest": { @@ -850,7 +909,7 @@ "TLSInspectionConfiguration": { "target": "com.amazonaws.networkfirewall#TLSInspectionConfiguration", "traits": { - "smithy.api#documentation": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

\n

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

\n

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect inbound traffic. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Decrypting SSL/TLS traffic with TLS\ninspection configurations in the Network Firewall Developer Guide.

", + "smithy.api#documentation": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

\n

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

\n

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS\ninspection configurations in the Network Firewall Developer Guide.

", "smithy.api#required": {} } }, @@ -1656,6 +1715,13 @@ "traits": { "smithy.api#documentation": "

Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains\nstateless rules. If it is stateful, it contains stateful rules.

\n \n

This setting is required for requests that do not include the RuleGroupARN.

\n
" } + }, + "AnalyzeRuleGroup": { + "target": "com.amazonaws.networkfirewall#Boolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

Indicates whether you want Network Firewall to analyze the stateless rules in the rule group for rule behavior such as asymmetric routing. If set to TRUE, Network Firewall runs the analysis.

" + } } }, "traits": { @@ -1749,7 +1815,7 @@ "TLSInspectionConfiguration": { "target": "com.amazonaws.networkfirewall#TLSInspectionConfiguration", "traits": { - "smithy.api#documentation": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

\n

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

\n

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect inbound traffic. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Decrypting SSL/TLS traffic with TLS\ninspection configurations in the Network Firewall Developer Guide.

" + "smithy.api#documentation": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

\n

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

\n

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS\ninspection configurations in the Network Firewall Developer Guide.

" } }, "TLSInspectionConfigurationResponse": { @@ -2498,6 +2564,23 @@ "target": "com.amazonaws.networkfirewall#IPSet" } }, + "com.amazonaws.networkfirewall#IdentifiedType": { + "type": "enum", + "members": { + "STATELESS_RULE_FORWARDING_ASYMMETRICALLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STATELESS_RULE_FORWARDING_ASYMMETRICALLY" + } + }, + "STATELESS_RULE_CONTAINS_TCP_FLAGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STATELESS_RULE_CONTAINS_TCP_FLAGS" + } + } + } + }, "com.amazonaws.networkfirewall#InsufficientCapacityException": { "type": "structure", "members": { @@ -2518,7 +2601,7 @@ } }, "traits": { - "smithy.api#documentation": "

Your request is valid, but Network Firewall couldn’t perform the operation because of a\n system problem. Retry your request.

", + "smithy.api#documentation": "

Your request is valid, but Network Firewall couldn't perform the operation because of a\n system problem. Retry your request.

", "smithy.api#error": "server" } }, @@ -4628,6 +4711,35 @@ "traits": { "smithy.api#enumValue": "DELETING" } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + } + } + }, + "com.amazonaws.networkfirewall#RevocationCheckAction": { + "type": "enum", + "members": { + "PASS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PASS" + } + }, + "DROP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DROP" + } + }, + "REJECT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REJECT" + } } } }, @@ -4681,7 +4793,7 @@ "StatefulRuleOptions": { "target": "com.amazonaws.networkfirewall#StatefulRuleOptions", "traits": { - "smithy.api#documentation": "

Additional options governing how Network Firewall handles stateful rules. The policies where you use your stateful\n rule group must have stateful rule options settings that are compatible with these settings.

" + "smithy.api#documentation": "

Additional options governing how Network Firewall handles stateful rules. The policies where you use your stateful\n rule group must have stateful rule options settings that are compatible with these settings. Some limitations apply; for more information, see Strict evaluation order in the Network Firewall Developer Guide.

" } } }, @@ -4798,6 +4910,12 @@ "traits": { "smithy.api#documentation": "

The last time that the rule group was changed.

" } + }, + "AnalysisResults": { + "target": "com.amazonaws.networkfirewall#AnalysisResultList", + "traits": { + "smithy.api#documentation": "

The list of analysis results for AnalyzeRuleGroup. If you set AnalyzeRuleGroup to TRUE in CreateRuleGroup, UpdateRuleGroup, or DescribeRuleGroup, Network Firewall analyzes the rule group and identifies the rules that might adversely effect your firewall's functionality. For example, if Network Firewall detects a rule that's routing traffic asymmetrically, which impacts the service's ability to properly process traffic, the service includes the rule in the list of analysis results.

" + } } }, "traits": { @@ -4827,6 +4945,12 @@ "target": "com.amazonaws.networkfirewall#RuleGroupMetadata" } }, + "com.amazonaws.networkfirewall#RuleIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.networkfirewall#CollectionMember_String" + } + }, "com.amazonaws.networkfirewall#RuleOption": { "type": "structure", "members": { @@ -4913,7 +5037,7 @@ "RulesString": { "target": "com.amazonaws.networkfirewall#RulesString", "traits": { - "smithy.api#documentation": "

Stateful inspection criteria, provided in Suricata compatible intrusion prevention\n system (IPS) rules. Suricata is an open-source network IPS that includes a standard\n rule-based language for network traffic inspection.

\n

These rules contain the inspection criteria and the action to take for traffic that\n matches the criteria, so this type of rule group doesn't have a separate action\n setting.

" + "smithy.api#documentation": "

Stateful inspection criteria, provided in Suricata compatible rules. Suricata is an open-source threat detection framework that includes a standard\n rule-based language for network traffic inspection.

\n

These rules contain the inspection criteria and the action to take for traffic that\n matches the criteria, so this type of rule group doesn't have a separate action\n setting.

\n \n

You can't use the priority keyword if the RuleOrder option in StatefulRuleOptions is set to STRICT_ORDER.

\n
" } }, "RulesSourceList": { @@ -4983,12 +5107,12 @@ "ResourceArn": { "target": "com.amazonaws.networkfirewall#ResourceArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Certificate Manager SSL/TLS server certificate.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Certificate Manager SSL/TLS server certificate that's used for inbound SSL/TLS inspection.

" } } }, "traits": { - "smithy.api#documentation": "

Any Certificate Manager Secure Sockets Layer/Transport Layer Security (SSL/TLS) server certificate that's associated with a ServerCertificateConfiguration used in a TLSInspectionConfiguration. You must request or import a SSL/TLS certificate into ACM for each domain Network Firewall needs to decrypt and inspect. Network Firewall uses the SSL/TLS certificates to decrypt specified inbound SSL/TLS traffic going to your firewall. For information about working with certificates in Certificate Manager, see Request a public certificate or Importing certificates in the Certificate Manager User Guide.

" + "smithy.api#documentation": "

Any Certificate Manager (ACM) Secure Sockets Layer/Transport Layer Security (SSL/TLS) server certificate that's associated with a ServerCertificateConfiguration. Used in a TLSInspectionConfiguration for inspection of inbound traffic to your firewall. You must request or import a SSL/TLS certificate into ACM for each domain Network Firewall needs to decrypt and inspect. Network Firewall uses the SSL/TLS certificates to decrypt specified inbound SSL/TLS traffic going to your firewall. For information about working with certificates in Certificate Manager, see Request a public certificate or Importing certificates in the Certificate Manager User Guide.

" } }, "com.amazonaws.networkfirewall#ServerCertificateConfiguration": { @@ -4997,18 +5121,30 @@ "ServerCertificates": { "target": "com.amazonaws.networkfirewall#ServerCertificates", "traits": { - "smithy.api#documentation": "

The list of a server certificate configuration's Certificate Manager SSL/TLS certificates.

" + "smithy.api#documentation": "

The list of server certificates to use for inbound SSL/TLS inspection.

" } }, "Scopes": { "target": "com.amazonaws.networkfirewall#ServerCertificateScopes", "traits": { - "smithy.api#documentation": "

A list of a server certificate configuration's scopes.

" + "smithy.api#documentation": "

A list of scopes.

" + } + }, + "CertificateAuthorityArn": { + "target": "com.amazonaws.networkfirewall#ResourceArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the imported certificate authority (CA) certificate within Certificate Manager (ACM) to use for outbound SSL/TLS inspection.

\n

The following limitations apply:

\n
    \n
  • \n

    You can use CA certificates that you imported into ACM, but you can't generate CA certificates with ACM.

    \n
  • \n
  • \n

    You can't use certificates issued by Private Certificate Authority.

    \n
  • \n
\n

For more information about configuring certificates for outbound inspection, see Using SSL/TLS certificates with certificates with TLS inspection configurations in the Network Firewall Developer Guide.

\n

For information about working with certificates in ACM, see Importing certificates in the Certificate Manager User Guide.

" + } + }, + "CheckCertificateRevocationStatus": { + "target": "com.amazonaws.networkfirewall#CheckCertificateRevocationStatusActions", + "traits": { + "smithy.api#documentation": "

When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status. If the certificate has an unknown or revoked status, you must specify the actions that Network Firewall takes on outbound traffic. To check the certificate revocation status, you must also specify a CertificateAuthorityArn in ServerCertificateConfiguration.

" } } }, "traits": { - "smithy.api#documentation": "

Configures the associated Certificate Manager Secure Sockets Layer/Transport Layer Security (SSL/TLS) server certificates and scope settings Network Firewall uses to decrypt traffic in a TLSInspectionConfiguration. For information about working with SSL/TLS certificates for TLS inspection, see Requirements for using SSL/TLS server certficiates with TLS inspection configurations in the Network Firewall Developer Guide.

\n \n

If a server certificate that's associated with your TLSInspectionConfiguration is revoked, deleted, or expired it can result in client-side TLS errors.

\n
" + "smithy.api#documentation": "

Configures the Certificate Manager certificates and scope that Network Firewall uses to decrypt and re-encrypt traffic using a TLSInspectionConfiguration. You can configure ServerCertificates for inbound SSL/TLS inspection, a CertificateAuthorityArn for outbound SSL/TLS inspection, or both. For information about working with certificates for TLS inspection, see Using SSL/TLS server certficiates with TLS inspection configurations in the Network Firewall Developer Guide.

\n \n

If a server certificate that's associated with your TLSInspectionConfiguration is revoked, deleted, or expired it can result in client-side TLS errors.

\n
" } }, "com.amazonaws.networkfirewall#ServerCertificateConfigurations": { @@ -5154,7 +5290,7 @@ "RuleOrder": { "target": "com.amazonaws.networkfirewall#RuleOrder", "traits": { - "smithy.api#documentation": "

Indicates how to manage the order of stateful rule evaluation for the policy. DEFAULT_ACTION_ORDER is\n the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them\n based on certain settings. For more information, see\n Evaluation order for stateful rules in the Network Firewall Developer Guide.\n

" + "smithy.api#documentation": "

Indicates how to manage the order of stateful rule evaluation for the policy. STRICT_ORDER is\n the default and recommended option. With STRICT_ORDER, provide your rules in the order that you want them to be evaluated. You can then choose one or more default actions for packets that don't match any rules. Choose STRICT_ORDER to have the stateful rules engine determine the evaluation order of your rules. The default action for this rule order is PASS, followed by DROP, REJECT, and ALERT actions. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them\n based on your settings. For more information, see\n Evaluation order for stateful rules in the Network Firewall Developer Guide.\n

" } }, "StreamExceptionPolicy": { @@ -5174,7 +5310,7 @@ "Action": { "target": "com.amazonaws.networkfirewall#StatefulAction", "traits": { - "smithy.api#documentation": "

Defines what Network Firewall should do with the packets in a traffic flow when the flow\n matches the stateful rule criteria. For all actions, Network Firewall performs the specified\n action and discontinues stateful inspection of the traffic flow.

\n

The actions for a stateful rule are defined as follows:

\n
    \n
  • \n

    \n PASS - Permits the packets to go to the\n intended destination.

    \n
  • \n
  • \n

    \n DROP - Blocks the packets from going to\n the intended destination and sends an alert log message, if alert logging is configured in the Firewall\n LoggingConfiguration.

    \n
  • \n
  • \n

    \n ALERT - Permits the packets to go to the\n intended destination and sends an alert log message, if alert logging is configured in the Firewall\n LoggingConfiguration.

    \n

    You can use this action to test a rule that you intend to use to drop traffic. You\n can enable the rule with ALERT action, verify in the logs that the rule\n is filtering as you want, then change the action to DROP.

    \n
  • \n
", + "smithy.api#documentation": "

Defines what Network Firewall should do with the packets in a traffic flow when the flow\n matches the stateful rule criteria. For all actions, Network Firewall performs the specified\n action and discontinues stateful inspection of the traffic flow.

\n

The actions for a stateful rule are defined as follows:

\n
    \n
  • \n

    \n PASS - Permits the packets to go to the\n intended destination.

    \n
  • \n
  • \n

    \n DROP - Blocks the packets from going to\n the intended destination and sends an alert log message, if alert logging is configured in the Firewall\n LoggingConfiguration.

    \n
  • \n
  • \n

    \n ALERT - Sends an alert log message, if alert logging is configured in the Firewall\n LoggingConfiguration.

    \n

    You can use this action to test a rule that you intend to use to drop traffic. You\n can enable the rule with ALERT action, verify in the logs that the rule\n is filtering as you want, then change the action to DROP.

    \n
  • \n
", "smithy.api#required": {} } }, @@ -5675,7 +5811,7 @@ } }, "traits": { - "smithy.api#documentation": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

\n

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

\n

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect inbound traffic. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Decrypting SSL/TLS traffic with TLS\ninspection configurations in the Network Firewall Developer Guide.

" + "smithy.api#documentation": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

\n

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

\n

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS\ninspection configurations in the Network Firewall Developer Guide.

" } }, "com.amazonaws.networkfirewall#TLSInspectionConfigurationMetadata": { @@ -5763,6 +5899,9 @@ "traits": { "smithy.api#documentation": "

A list of the certificates associated with the TLS inspection configuration.

" } + }, + "CertificateAuthority": { + "target": "com.amazonaws.networkfirewall#TlsCertificateData" } }, "traits": { @@ -6698,6 +6837,13 @@ "traits": { "smithy.api#documentation": "

A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to keep track of updates made to the originating rule group.

" } + }, + "AnalyzeRuleGroup": { + "target": "com.amazonaws.networkfirewall#Boolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

Indicates whether you want Network Firewall to analyze the stateless rules in the rule group for rule behavior such as asymmetric routing. If set to TRUE, Network Firewall runs the analysis and then updates the rule group for you. To run the stateless rule group analyzer without updating the rule group, set DryRun to TRUE.

" + } } }, "traits": { @@ -6851,7 +6997,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the TLS inspection configuration settings for the specified TLS inspection configuration. You use a TLS inspection configuration by\n reference in one or more firewall policies. When you modify a TLS inspection configuration, you modify all\n firewall policies that use the TLS inspection configuration.

\n

To update a TLS inspection configuration, first call DescribeTLSInspectionConfiguration to retrieve the\n current TLSInspectionConfiguration object, update the object as needed, and then provide\n the updated object to this call.

" + "smithy.api#documentation": "

Updates the TLS inspection configuration settings for the specified TLS inspection configuration. You use a TLS inspection configuration by\n referencing it in one or more firewall policies. When you modify a TLS inspection configuration, you modify all\n firewall policies that use the TLS inspection configuration.

\n

To update a TLS inspection configuration, first call DescribeTLSInspectionConfiguration to retrieve the\n current TLSInspectionConfiguration object, update the object as needed, and then provide\n the updated object to this call.

" } }, "com.amazonaws.networkfirewall#UpdateTLSInspectionConfigurationRequest": { @@ -6872,7 +7018,7 @@ "TLSInspectionConfiguration": { "target": "com.amazonaws.networkfirewall#TLSInspectionConfiguration", "traits": { - "smithy.api#documentation": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

\n

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

\n

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect inbound traffic. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Decrypting SSL/TLS traffic with TLS\ninspection configurations in the Network Firewall Developer Guide.

", + "smithy.api#documentation": "

The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.

\n

Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.

\n

To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS\ninspection configurations in the Network Firewall Developer Guide.

", "smithy.api#required": {} } }, diff --git a/codegen/sdk/aws-models/networkmonitor.json b/codegen/sdk/aws-models/networkmonitor.json index d1c8a438924..0316989a1f0 100644 --- a/codegen/sdk/aws-models/networkmonitor.json +++ b/codegen/sdk/aws-models/networkmonitor.json @@ -108,7 +108,7 @@ "monitorName": { "target": "com.amazonaws.networkmonitor#ResourceName", "traits": { - "smithy.api#documentation": "

The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 255 characters.

", + "smithy.api#documentation": "

The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.

", "smithy.api#required": {} } }, @@ -169,7 +169,7 @@ "aggregationPeriod": { "target": "com.amazonaws.networkmonitor#AggregationPeriod", "traits": { - "smithy.api#documentation": "

The number of seconds that metrics are aggregated by and sent to Amazon CloudWatch. This will be either 30 or 60.

" + "smithy.api#documentation": "

The number of seconds that metrics are aggregated by and sent to Amazon CloudWatch. This must be either 30 or 60.

" } }, "tags": { @@ -196,7 +196,7 @@ "destination": { "target": "com.amazonaws.networkmonitor#Destination", "traits": { - "smithy.api#documentation": "

The destination IP address. This will be either IPV4 or IPV6.

", + "smithy.api#documentation": "

The destination IP address. This must be either IPV4 or IPV6.

", "smithy.api#required": {} } }, @@ -209,14 +209,14 @@ "protocol": { "target": "com.amazonaws.networkmonitor#Protocol", "traits": { - "smithy.api#documentation": "

The protocol used for the network traffic between the source and destination. This will be either TCP or ICMP.

", + "smithy.api#documentation": "

The protocol used for the network traffic between the source and destination. This must be either TCP or ICMP.

", "smithy.api#required": {} } }, "packetSize": { "target": "com.amazonaws.networkmonitor#PacketSize", "traits": { - "smithy.api#documentation": "

The size of the packets sent between the source and destination. This will be a number between 56 and 8500.

" + "smithy.api#documentation": "

The size of the packets sent between the source and destination. This must be a number between 56 and 8500.

" } }, "probeTags": { @@ -337,7 +337,7 @@ "destination": { "target": "com.amazonaws.networkmonitor#Destination", "traits": { - "smithy.api#documentation": "

The destination IP address for the monitor. This will be either an IPv4 or IPv6 address.

", + "smithy.api#documentation": "

The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.

", "smithy.api#required": {} } }, @@ -350,14 +350,14 @@ "protocol": { "target": "com.amazonaws.networkmonitor#Protocol", "traits": { - "smithy.api#documentation": "

The protocol used for the network traffic between the source and destination. This will be either TCP or ICMP.

", + "smithy.api#documentation": "

The protocol used for the network traffic between the source and destination. This must be either TCP or ICMP.

", "smithy.api#required": {} } }, "packetSize": { "target": "com.amazonaws.networkmonitor#PacketSize", "traits": { - "smithy.api#documentation": "

The size of the packets sent between the source and destination. This will be a number between 56 and 8500.

" + "smithy.api#documentation": "

The size of the packets sent between the source and destination. This must be a number between 56 and 8500.

" } }, "addressFamily": { @@ -742,7 +742,7 @@ "destination": { "target": "com.amazonaws.networkmonitor#Destination", "traits": { - "smithy.api#documentation": "

The destination IP address for the monitor. This will be either an IPv4 or IPv6 address.

", + "smithy.api#documentation": "

The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.

", "smithy.api#required": {} } }, @@ -755,14 +755,14 @@ "protocol": { "target": "com.amazonaws.networkmonitor#Protocol", "traits": { - "smithy.api#documentation": "

The protocol used for the network traffic between the source and destination. This will be either TCP or ICMP.

", + "smithy.api#documentation": "

The protocol used for the network traffic between the source and destination. This must be either TCP or ICMP.

", "smithy.api#required": {} } }, "packetSize": { "target": "com.amazonaws.networkmonitor#PacketSize", "traits": { - "smithy.api#documentation": "

The size of the packets sent between the source and destination. This will be a number between 56 and 8500.

" + "smithy.api#documentation": "

The size of the packets sent between the source and destination. This must be a number between 56 and 8500.

" } }, "addressFamily": { @@ -2000,7 +2000,7 @@ "destination": { "target": "com.amazonaws.networkmonitor#Destination", "traits": { - "smithy.api#documentation": "

The destination IP address. This will be either IPV4 or IPV6.

", + "smithy.api#documentation": "

The destination IP address. This must be either IPV4 or IPV6.

", "smithy.api#required": {} } }, @@ -2013,14 +2013,14 @@ "protocol": { "target": "com.amazonaws.networkmonitor#Protocol", "traits": { - "smithy.api#documentation": "

The protocol used for the network traffic between the source and destination. This will be either TCP or ICMP.

", + "smithy.api#documentation": "

The protocol used for the network traffic between the source and destination. This must be either TCP or ICMP.

", "smithy.api#required": {} } }, "packetSize": { "target": "com.amazonaws.networkmonitor#PacketSize", "traits": { - "smithy.api#documentation": "

The size of the packets sent between the source and destination. This will be a number between 56 and 8500.

" + "smithy.api#documentation": "

The size of the packets sent between the source and destination. This must be a number between 56 and 8500.

" } }, "tags": { @@ -2135,7 +2135,7 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 255 + "max": 200 }, "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" } @@ -2633,7 +2633,7 @@ "destinationPort": { "target": "com.amazonaws.networkmonitor#Port", "traits": { - "smithy.api#documentation": "

The updated destination port. This will be a number between 1 and 65536.

" + "smithy.api#documentation": "

The updated destination port. This must be a number between 1 and 65536.

" } }, "protocol": { @@ -2652,7 +2652,7 @@ "addressFamily": { "target": "com.amazonaws.networkmonitor#AddressFamily", "traits": { - "smithy.api#documentation": "

The updated IP address family. This will be either IPV4 or IPV6.

" + "smithy.api#documentation": "

The updated IP address family. This must be either IPV4 or IPV6.

" } }, "vpcId": { diff --git a/codegen/sdk/aws-models/opensearchserverless.json b/codegen/sdk/aws-models/opensearchserverless.json index c8c9e0a149e..e978c38f084 100644 --- a/codegen/sdk/aws-models/opensearchserverless.json +++ b/codegen/sdk/aws-models/opensearchserverless.json @@ -3622,17 +3622,6 @@ "expect": { "error": "Invalid Configuration: Missing Region" } - }, - { - "documentation": "Partition doesn't support DualStack", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } } ], "version": "1.0" diff --git a/codegen/sdk/aws-models/s3outposts.json b/codegen/sdk/aws-models/s3outposts.json index 15670d016e0..33a96e5b0c3 100644 --- a/codegen/sdk/aws-models/s3outposts.json +++ b/codegen/sdk/aws-models/s3outposts.json @@ -733,6 +733,12 @@ "smithy.api#documentation": "

Specifies the unique Amazon Resource Name (ARN) for the outpost.

" } }, + "S3OutpostArn": { + "target": "com.amazonaws.s3outposts#S3OutpostArn", + "traits": { + "smithy.api#documentation": "

Specifies the unique S3 on Outposts ARN for use with Resource Access Manager (RAM).

" + } + }, "OutpostId": { "target": "com.amazonaws.s3outposts#OutpostId", "traits": { @@ -801,6 +807,12 @@ "smithy.api#httpError": 404 } }, + "com.amazonaws.s3outposts#S3OutpostArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):s3-outposts:[a-z\\-0-9]*:[0-9]{12}:outpost/(op-[a-f0-9]{17}|\\d{12})/s3$" + } + }, "com.amazonaws.s3outposts#S3Outposts": { "type": "service", "version": "2017-07-25", diff --git a/codegen/sdk/aws-models/sso-oidc.json b/codegen/sdk/aws-models/sso-oidc.json index 2974461fc06..1b3ba19e35c 100644 --- a/codegen/sdk/aws-models/sso-oidc.json +++ b/codegen/sdk/aws-models/sso-oidc.json @@ -1098,6 +1098,25 @@ "expiresIn": 1579729529, "refreshToken": "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN" } + }, + { + "title": "Call OAuth/OIDC /token endpoint for Refresh Token grant with Secret authentication", + "documentation": "", + "input": { + "clientId": "_yzkThXVzLWVhc3QtMQEXAMPLECLIENTID", + "clientSecret": "VERYLONGSECRETeyJraWQiOiJrZXktMTU2NDAyODA5OSIsImFsZyI6IkhTMzg0In0", + "grantType": "refresh_token", + "refreshToken": "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN", + "scope": [ + "codewhisperer:completions" + ] + }, + "output": { + "accessToken": "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN", + "tokenType": "Bearer", + "expiresIn": 1579729529, + "refreshToken": "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN" + } } ], "smithy.api#http": { @@ -1282,6 +1301,72 @@ "sts:identity_context" ] } + }, + { + "title": "Call OAuth/OIDC /token endpoint for Refresh Token grant with IAM authentication", + "documentation": "", + "input": { + "clientId": "arn:aws:sso::123456789012:application/ssoins-111111111111/apl-222222222222", + "grantType": "refresh_token", + "refreshToken": "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN" + }, + "output": { + "accessToken": "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN", + "tokenType": "Bearer", + "expiresIn": 1579729529, + "refreshToken": "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN", + "issuedTokenType": "urn:ietf:params:oauth:token-type:refresh_token", + "scope": [ + "openid", + "aws", + "sts:identity_context" + ] + } + }, + { + "title": "Call OAuth/OIDC /token endpoint for JWT Bearer grant with IAM authentication", + "documentation": "", + "input": { + "clientId": "arn:aws:sso::123456789012:application/ssoins-111111111111/apl-222222222222", + "grantType": "urn:ietf:params:oauth:grant-type:jwt-bearer", + "assertion": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjFMVE16YWtpaGlSbGFfOHoyQkVKVlhlV01xbyJ9.eyJ2ZXIiOiIyLjAiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vOTEyMjA0MGQtNmM2Ny00YzViLWIxMTItMzZhMzA0YjY2ZGFkL3YyLjAiLCJzdWIiOiJBQUFBQUFBQUFBQUFBQUFBQUFBQUFJa3pxRlZyU2FTYUZIeTc4MmJidGFRIiwiYXVkIjoiNmNiMDQwMTgtYTNmNS00NmE3LWI5OTUtOTQwYzc4ZjVhZWYzIiwiZXhwIjoxNTM2MzYxNDExLCJpYXQiOjE1MzYyNzQ3MTEsIm5iZiI6MTUzNjI3NDcxMSwibmFtZSI6IkFiZSBMaW5jb2xuIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiQWJlTGlAbWljcm9zb2Z0LmNvbSIsIm9pZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC02NmYzLTMzMzJlY2E3ZWE4MSIsInRpZCI6IjkxMjIwNDBkLTZjNjctNGM1Yi1iMTEyLTM2YTMwNGI2NmRhZCIsIm5vbmNlIjoiMTIzNTIzIiwiYWlvIjoiRGYyVVZYTDFpeCFsTUNXTVNPSkJjRmF0emNHZnZGR2hqS3Y4cTVnMHg3MzJkUjVNQjVCaXN2R1FPN1lXQnlqZDhpUURMcSFlR2JJRGFreXA1bW5PcmNkcUhlWVNubHRlcFFtUnA2QUlaOGpZIn0.1AFWW-Ck5nROwSlltm7GzZvDwUkqvhSQpm55TQsmVo9Y59cLhRXpvB8n-55HCr9Z6G_31_UbeUkoz612I2j_Sm9FFShSDDjoaLQr54CreGIJvjtmS3EkK9a7SJBbcpL1MpUtlfygow39tFjY7EVNW9plWUvRrTgVk7lYLprvfzw-CIqw3gHC-T7IK_m_xkr08INERBtaecwhTeN4chPC4W3jdmw_lIxzC48YoQ0dB1L9-ImX98Egypfrlbm0IBL5spFzL6JDZIRRJOu8vecJvj1mq-IUhGt0MacxX8jdxYLP-KUu2d9MbNKpCKJuZ7p8gwTL5B7NlUdh_dmSviPWrw" + }, + "output": { + "accessToken": "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN", + "tokenType": "Bearer", + "expiresIn": 1579729529, + "refreshToken": "aorvJYubGpU6i91YnH7Mfo-AT2fIVa1zCfA_Rvq9yjVKIP3onFmmykuQ7E93y2I-9Nyj-A_sVvMufaLNL0bqnDRtgAkc0:MGUCMFrRsktMRVlWaOR70XGMFGLL0SlcCw4DiYveIiOVx1uK9BbD0gvAddsW3UTLozXKMgIxAJ3qxUvjpnlLIOaaKOoa/FuNgqJVvr9GMwDtnAtlh9iZzAkEXAMPLEREFRESHTOKEN", + "idToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhd3M6aWRlbnRpdHlfc3RvcmVfaWQiOiJkLTMzMzMzMzMzMzMiLCJzdWIiOiI3MzA0NDhmMi1lMGExLTcwYTctYzk1NC0wMDAwMDAwMDAwMDAiLCJhd3M6aW5zdGFuY2VfYWNjb3VudCI6IjExMTExMTExMTExMSIsInN0czppZGVudGl0eV9jb250ZXh0IjoiRVhBTVBMRUlERU5USVRZQ09OVEVYVCIsInN0czphdWRpdF9jb250ZXh0IjoiRVhBTVBMRUFVRElUQ09OVEVYVCIsImlzcyI6Imh0dHBzOi8vaWRlbnRpdHljZW50ZXIuYW1hem9uYXdzLmNvbS9zc29pbnMtMTExMTExMTExMTExIiwiYXdzOmlkZW50aXR5X3N0b3JlX2FybiI6ImFybjphd3M6aWRlbnRpdHlzdG9yZTo6MTExMTExMTExMTExOmlkZW50aXR5c3RvcmUvZC0zMzMzMzMzMzMzIiwiYXVkIjoiYXJuOmF3czpzc286OjEyMzQ1Njc4OTAxMjphcHBsaWNhdGlvbi9zc29pbnMtMTExMTExMTExMTExL2FwbC0yMjIyMjIyMjIyMjIiLCJhd3M6aW5zdGFuY2VfYXJuIjoiYXJuOmF3czpzc286OjppbnN0YW5jZS9zc29pbnMtMTExMTExMTExMTExIiwiYXdzOmNyZWRlbnRpYWxfaWQiOiJfWlIyTjZhVkJqMjdGUEtheWpfcEtwVjc3QVBERl80MXB4ZXRfWWpJdUpONlVJR2RBdkpFWEFNUExFQ1JFRElEIiwiYXV0aF90aW1lIjoiMjAyMC0wMS0yMlQxMjo0NToyOVoiLCJleHAiOjE1Nzk3Mjk1MjksImlhdCI6MTU3OTcyNTkyOX0.Xyah6qbk78qThzJ41iFU2yfGuRqqtKXHrJYwQ8L9Ip0", + "issuedTokenType": "urn:ietf:params:oauth:token-type:refresh_token", + "scope": [ + "openid", + "aws", + "sts:identity_context" + ] + } + }, + { + "title": "Call OAuth/OIDC /token endpoint for Token Exchange grant with IAM authentication", + "documentation": "", + "input": { + "clientId": "arn:aws:sso::123456789012:application/ssoins-111111111111/apl-222222222222", + "grantType": "urn:ietf:params:oauth:grant-type:token-exchange", + "subjectToken": "aoak-Hig8TUDPNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZDIFFERENTACCESSTOKEN", + "subjectTokenType": "urn:ietf:params:oauth:token-type:access_token", + "requestedTokenType": "urn:ietf:params:oauth:token-type:access_token" + }, + "output": { + "accessToken": "aoal-YigITUDiNX1xZwOMXM5MxOWDL0E0jg9P6_C_jKQPxS_SKCP6f0kh1Up4g7TtvQqkMnD-GJiU_S1gvug6SrggAkc0:MGYCMQD3IatVjV7jAJU91kK3PkS/SfA2wtgWzOgZWDOR7sDGN9t0phCZz5It/aes/3C1Zj0CMQCKWOgRaiz6AIhza3DSXQNMLjRKXC8F8ceCsHlgYLMZ7hZidEXAMPLEACCESSTOKEN", + "tokenType": "Bearer", + "expiresIn": 1579729529, + "idToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhd3M6aWRlbnRpdHlfc3RvcmVfaWQiOiJkLTMzMzMzMzMzMzMiLCJzdWIiOiI3MzA0NDhmMi1lMGExLTcwYTctYzk1NC0wMDAwMDAwMDAwMDAiLCJhd3M6aW5zdGFuY2VfYWNjb3VudCI6IjExMTExMTExMTExMSIsInN0czppZGVudGl0eV9jb250ZXh0IjoiRVhBTVBMRUlERU5USVRZQ09OVEVYVCIsImlzcyI6Imh0dHBzOi8vaWRlbnRpdHljZW50ZXIuYW1hem9uYXdzLmNvbS9zc29pbnMtMTExMTExMTExMTExIiwiYXdzOmlkZW50aXR5X3N0b3JlX2FybiI6ImFybjphd3M6aWRlbnRpdHlzdG9yZTo6MTExMTExMTExMTExOmlkZW50aXR5c3RvcmUvZC0zMzMzMzMzMzMzIiwiYXVkIjoiYXJuOmF3czpzc286OjEyMzQ1Njc4OTAxMjphcHBsaWNhdGlvbi9zc29pbnMtMTExMTExMTExMTExL2FwbC0yMjIyMjIyMjIyMjIiLCJhd3M6aW5zdGFuY2VfYXJuIjoiYXJuOmF3czpzc286OjppbnN0YW5jZS9zc29pbnMtMTExMTExMTExMTExIiwiYXdzOmNyZWRlbnRpYWxfaWQiOiJfWlIyTjZhVkJqMjdGUEtheWpfcEtwVjc3QVBERl80MXB4ZXRfWWpJdUpONlVJR2RBdkpFWEFNUExFQ1JFRElEIiwiYXV0aF90aW1lIjoiMjAyMC0wMS0yMlQxMjo0NToyOVoiLCJleHAiOjE1Nzk3Mjk1MjksImlhdCI6MTU3OTcyNTkyOX0.5SYiW1kMsuUr7nna-l5tlakM0GNbMHvIM2_n0QD23jM", + "issuedTokenType": "urn:ietf:params:oauth:token-type:access_token", + "scope": [ + "openid", + "aws", + "sts:identity_context" + ] + } } ], "smithy.api#http": { diff --git a/codegen/sdk/aws-models/sts.json b/codegen/sdk/aws-models/sts.json index eabc44ceb77..746178d4f8f 100644 --- a/codegen/sdk/aws-models/sts.json +++ b/codegen/sdk/aws-models/sts.json @@ -2990,6 +2990,24 @@ "Account": "123456789012", "Arn": "arn:aws:iam::123456789012:user/Alice" } + }, + { + "title": "To get details about a calling user federated with AssumeRole", + "documentation": "This example shows a request and response made with temporary credentials created by AssumeRole. The name of the assumed role is my-role-name, and the RoleSessionName is set to my-role-session-name.", + "output": { + "UserId": "AKIAI44QH8DHBEXAMPLE:my-role-session-name", + "Account": "123456789012", + "Arn": "arn:aws:sts::123456789012:assumed-role/my-role-name/my-role-session-name" + } + }, + { + "title": "To get details about a calling user federated with GetFederationToken", + "documentation": "This example shows a request and response made with temporary credentials created by using GetFederationToken. The Name parameter is set to my-federated-user-name.", + "output": { + "UserId": "123456789012:my-federated-user-name", + "Account": "123456789012", + "Arn": "arn:aws:sts::123456789012:federated-user/my-federated-user-name" + } } ] } diff --git a/codegen/sdk/aws-models/support.json b/codegen/sdk/aws-models/support.json index 9ee7af1bccb..1904589ac00 100644 --- a/codegen/sdk/aws-models/support.json +++ b/codegen/sdk/aws-models/support.json @@ -1745,7 +1745,7 @@ } }, "serviceCode": { - "target": "com.amazonaws.support#ServiceCode", + "target": "com.amazonaws.support#ServiceCode2", "traits": { "smithy.api#documentation": "

The code for the Amazon Web Services service. You can use the DescribeServices\n operation to get the possible serviceCode values.

" } @@ -2137,7 +2137,7 @@ } }, "serviceCode": { - "target": "com.amazonaws.support#ServiceCode", + "target": "com.amazonaws.support#ServiceCode2", "traits": { "smithy.api#documentation": "

The code for the Amazon Web Services service. You can use the DescribeServices\n operation to get the possible serviceCode values.

", "smithy.api#required": {} @@ -2782,6 +2782,9 @@ } }, "com.amazonaws.support#ServiceCode": { + "type": "string" + }, + "com.amazonaws.support#ServiceCode2": { "type": "string", "traits": { "smithy.api#pattern": "^[0-9a-z\\-_]+$" @@ -2790,7 +2793,7 @@ "com.amazonaws.support#ServiceCodeList": { "type": "list", "member": { - "target": "com.amazonaws.support#ServiceCode" + "target": "com.amazonaws.support#ServiceCode2" }, "traits": { "smithy.api#length": { diff --git a/codegen/sdk/aws-models/translate.json b/codegen/sdk/aws-models/translate.json index b7696423957..e004c45e013 100644 --- a/codegen/sdk/aws-models/translate.json +++ b/codegen/sdk/aws-models/translate.json @@ -1018,6 +1018,17 @@ "smithy.api#pattern": "^[\\P{M}\\p{M}]{1,10000}$" } }, + "com.amazonaws.translate#Brevity": { + "type": "enum", + "members": { + "ON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ON" + } + } + } + }, "com.amazonaws.translate#ClientTokenString": { "type": "string", "traits": { @@ -2428,15 +2439,13 @@ "S3Uri": { "target": "com.amazonaws.translate#S3Uri", "traits": { - "smithy.api#documentation": "

The URI of the Amazon S3 folder that contains the parallel data input file. The folder\n must be in the same Region as the API endpoint you are calling.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The URI of the Amazon S3 folder that contains the parallel data input file. The folder\n must be in the same Region as the API endpoint you are calling.

" } }, "Format": { "target": "com.amazonaws.translate#ParallelDataFormat", "traits": { - "smithy.api#documentation": "

The format of the parallel data input file.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The format of the parallel data input file.

" } } }, @@ -2808,7 +2817,7 @@ "Settings": { "target": "com.amazonaws.translate#TranslationSettings", "traits": { - "smithy.api#documentation": "

Settings to configure your translation output, including the option to set the formality\n level of the output text and the option to mask profane words and phrases.

" + "smithy.api#documentation": "

Settings to configure your translation output. You can configure the following options:

\n
    \n
  • \n

    Brevity: not supported.

    \n
  • \n
  • \n

    Formality: sets the formality level of the output text.

    \n
  • \n
  • \n

    Profanity: masks profane words and phrases in your translation output.

    \n
  • \n
" } } }, @@ -3466,7 +3475,7 @@ } ], "traits": { - "smithy.api#documentation": "

Translates the input document from the source language to the target language. \n This synchronous operation supports plain text or HTML for the input document.\n \n TranslateDocument supports translations from English to any supported language, \n and from any supported language to English. Therefore, specify either the source language code\n or the target language code as “en” (English). \n

\n

\n TranslateDocument does not support language auto-detection.

\n

If you set the Formality parameter, the request will fail if the target language does \n not support formality. For a list of target languages that support formality, see\n Setting formality.\n

" + "smithy.api#documentation": "

Translates the input document from the source language to the target language. \n This synchronous operation supports text, HTML, or Word documents as the input document.\n \n TranslateDocument supports translations from English to any supported language, \n and from any supported language to English. Therefore, specify either the source language code\n or the target language code as “en” (English). \n

\n

If you set the Formality parameter, the request will fail if the target language does \n not support formality. For a list of target languages that support formality, see\n Setting formality.\n

" } }, "com.amazonaws.translate#TranslateDocumentRequest": { @@ -3488,7 +3497,7 @@ "SourceLanguageCode": { "target": "com.amazonaws.translate#LanguageCodeString", "traits": { - "smithy.api#documentation": "

The language code for the language of the source text. Do not use auto, because\n TranslateDocument does not support language auto-detection.\n For a list of supported language codes, see\n Supported languages.

", + "smithy.api#documentation": "

The language code for the language of the source text. For a list of supported language codes, see\n Supported languages.

\n

To have Amazon Translate determine the source language of your text, you can specify\n auto in the SourceLanguageCode field. If you specify\n auto, Amazon Translate will call Amazon\n Comprehend to determine the source language.

\n \n

If you specify auto, you must send the TranslateDocument request in a region that supports\n Amazon Comprehend. Otherwise, the request returns an error indicating that autodetect is not supported.

\n
", "smithy.api#required": {} } }, @@ -3500,7 +3509,10 @@ } }, "Settings": { - "target": "com.amazonaws.translate#TranslationSettings" + "target": "com.amazonaws.translate#TranslationSettings", + "traits": { + "smithy.api#documentation": "

Settings to configure your translation output. You can configure the following options:

\n
    \n
  • \n

    Brevity: not supported.

    \n
  • \n
  • \n

    Formality: sets the formality level of the output text.

    \n
  • \n
  • \n

    Profanity: masks profane words and phrases in your translation output.

    \n
  • \n
" + } } }, "traits": { @@ -3616,7 +3628,7 @@ "Settings": { "target": "com.amazonaws.translate#TranslationSettings", "traits": { - "smithy.api#documentation": "

Settings to configure your translation output, including the option to set the formality\n level of the output text and the option to mask profane words and phrases.

" + "smithy.api#documentation": "

Settings to configure your translation output. You can configure the following options:

\n
    \n
  • \n

    Brevity: reduces the length of the translated output for most translations.

    \n
  • \n
  • \n

    Formality: sets the formality level of the output text.

    \n
  • \n
  • \n

    Profanity: masks profane words and phrases in your translation output.

    \n
  • \n
" } } }, @@ -3702,18 +3714,24 @@ "Formality": { "target": "com.amazonaws.translate#Formality", "traits": { - "smithy.api#documentation": "

You can optionally specify the desired level of formality for translations\n to supported target languages. The formality\n setting controls the level of formal language usage (also known as register) in the\n translation output. You can set the value to informal or formal. If you don't specify a value for\n formality, or if the target language doesn't support formality, the translation will\n ignore the formality setting.

\n

If you specify multiple target languages for the job, translate ignores\n the formality setting for any unsupported target language.

\n

For a list of target languages that support formality, see Supported languages\n in the Amazon Translate Developer Guide.

" + "smithy.api#documentation": "

You can specify the desired level of formality for translations\n to supported target languages. The formality\n setting controls the level of formal language usage (also known as register) in the\n translation output. You can set the value to informal or formal. If you don't specify a value for\n formality, or if the target language doesn't support formality, the translation will\n ignore the formality setting.

\n

If you specify multiple target languages for the job, translate ignores\n the formality setting for any unsupported target language.

\n

For a list of target languages that support formality, see Supported languages\n in the Amazon Translate Developer Guide.

" } }, "Profanity": { "target": "com.amazonaws.translate#Profanity", "traits": { - "smithy.api#documentation": "

Enable the profanity setting if you want Amazon Translate to mask profane words and\n phrases in your translation output.

\n

To mask profane words and phrases, Amazon Translate replaces them with the grawlix string\n “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the\n length or number of words.

\n

Amazon Translate doesn't detect profanity in all of its supported languages. For languages\n that don't support profanity detection, see Unsupported languages in the Amazon Translate Developer Guide.

\n

If you specify multiple target languages for the job, all the\n target languages must support profanity masking. If any of the\n target languages don't support profanity masking, the\n translation job won't mask profanity for any target\n language.

" + "smithy.api#documentation": "

You can enable the profanity setting if you want to mask profane words and\n phrases in your translation output.

\n

To mask profane words and phrases, Amazon Translate replaces them with the grawlix string\n “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the\n length or number of words.

\n

Amazon Translate doesn't detect profanity in all of its supported languages. For languages\n that don't support profanity detection, see Unsupported languages in the Amazon Translate Developer Guide.

\n

If you specify multiple target languages for the job, all the\n target languages must support profanity masking. If any of the\n target languages don't support profanity masking, the\n translation job won't mask profanity for any target\n language.

" + } + }, + "Brevity": { + "target": "com.amazonaws.translate#Brevity", + "traits": { + "smithy.api#documentation": "

When you turn on brevity, Amazon Translate reduces the length of the translation output for most translations (when\n compared with the same translation with brevity turned off). By default, brevity is turned\n off.

\n

If you turn on brevity for a translation request with an unsupported language pair, the\n translation proceeds with the brevity setting turned off.

\n

For the language pairs that brevity supports, see Using brevity in the\n Amazon Translate Developer Guide.

" } } }, "traits": { - "smithy.api#documentation": "

Settings to configure your translation output, including the option to set the formality\n level of the output text and the option to mask profane words and phrases.

" + "smithy.api#documentation": "

Settings to configure your translation output. You can configure the following options:

\n
    \n
  • \n

    Brevity: reduces the length of the translation output for most translations. Available for\n TranslateText only.

    \n
  • \n
  • \n

    Formality: sets the formality level of the translation output.

    \n
  • \n
  • \n

    Profanity: masks profane words and phrases in the translation output.

    \n
  • \n
" } }, "com.amazonaws.translate#UnboundedLengthString": {